Skip to content

Commit

Permalink
Add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis committed Oct 26, 2023
1 parent 8fd0d65 commit aaaf150
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test-workflow-call.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: TestWorkflowCall
on:
workflow_call:
inputs:
cleanup:
type: boolean
required: true
jobs:
run-suite:
runs-on: ubuntu-latest
steps:
- if: ${{ inputs.cleanup }}
run: |
echo "Hello"
13 changes: 13 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Test
on:
workflow_dispatch:
inputs:
cleanup:
type: boolean
required: true
default: true
jobs:
run-suite:
uses: ./.github/workflows/test-workflow-call.yaml
with:
cleanup: ${{ inputs.cleanup }}

0 comments on commit aaaf150

Please sign in to comment.