Skip to content

Commit 94f9402

Browse files
authored
ci(test.yml): assure 'test' workflow fails if one of its dependencies fail (#61)
context here: octokit/auth-oauth-device.js#74
1 parent 8319aed commit 94f9402

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/github-actions/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@ jobs:
2828
test:
2929
runs-on: ubuntu-latest
3030
needs: test_matrix
31+
if: ${{ always() }}
3132
steps:
33+
- run: exit 1
34+
if: ${{ needs.test_matrix.result != 'success' }}
3235
- run: echo ok

0 commit comments

Comments
 (0)