Skip to content

Commit

Permalink
updated gha to trigger on test update (#204)
Browse files Browse the repository at this point in the history
Signed-off-by: Ved Ratan <[email protected]>
  • Loading branch information
VedRatan authored Jul 1, 2024
1 parent dd6fc99 commit 81409f8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
outputs:
nimbus: ${{ steps.filter.outputs.nimbus}}
adapters: ${{ steps.filter.outputs.adapters }}
tests: ${{ steps.filter.outputs.tests }}
steps:
- uses: actions/checkout@v4
- uses: dorny/[email protected]
Expand All @@ -38,7 +39,8 @@ jobs:
- 'Makefile'
adapters:
- 'pkg/adapter/**'
tests:
- 'tests/**'
license:
name: License
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -129,7 +131,7 @@ jobs:

integration-tests:
needs: files-changed
if: ${{ needs.files-changed.outputs.nimbus == 'true' }}
if: ${{ needs.files-changed.outputs.nimbus == 'true' || needs.files-changed.outputs.tests == 'true' }}
name: Integration-Test
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -171,7 +173,7 @@ jobs:

e2e-tests:
needs: files-changed
if: ${{ needs.files-changed.outputs.nimbus == 'true' || needs.files-changed.outputs.adapters == 'true' }}
if: ${{ needs.files-changed.outputs.nimbus == 'true' || needs.files-changed.outputs.adapters == 'true' || needs.files-changed.outputs.tests == 'true'}}
name: E2E-Test
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 81409f8

Please sign in to comment.