Skip to content

Commit

Permalink
CI fails if called workflow fails (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-5546 authored Nov 6, 2023
1 parent e1cf727 commit 16dd2f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_definitions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
run: |
gh workflow run tests.yml -R UBCSailbot/docs
sleep 5
gh run watch -R UBCSailbot/docs $(gh run list -R UBCSailbot/docs -w tests.yml -L1 --json databaseId --jq '.[0].databaseId')
gh run watch --exit-status -R UBCSailbot/docs $(gh run list -R UBCSailbot/docs -w tests.yml -L1 --json databaseId --jq '.[0].databaseId')
env:
GH_TOKEN: ${{ secrets.gh-token }}

Expand All @@ -181,6 +181,6 @@ jobs:
run: |
gh workflow run tests.yml -R UBCSailbot/sailbot_workspace
sleep 5
gh run watch -R UBCSailbot/sailbot_workspace $(gh run list -R UBCSailbot/sailbot_workspace -w tests.yml -L1 --json databaseId --jq '.[0].databaseId')
gh run watch --exit-status -R UBCSailbot/sailbot_workspace $(gh run list -R UBCSailbot/sailbot_workspace -w tests.yml -L1 --json databaseId --jq '.[0].databaseId')
env:
GH_TOKEN: ${{ secrets.gh-token }}

0 comments on commit 16dd2f3

Please sign in to comment.