Skip to content

Commit

Permalink
Run integration-tests only on test workflow success
Browse files Browse the repository at this point in the history
  • Loading branch information
NabinKawan authored Apr 15, 2024
1 parent 5785620 commit 76b1b8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test_integration_playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
integration-tests:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
defaults:
run:
working-directory: tests/govtool-frontend/playwright
Expand Down Expand Up @@ -57,6 +58,7 @@ jobs:

publish-report:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
needs: integration-tests
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 76b1b8a

Please sign in to comment.