Skip to content

Commit b5407e3

Browse files
committed
CI: wait for cancellation of previous runs
1 parent d1a2fad commit b5407e3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
access_token: ${{ github.token }}
2222

2323
test-both-actions-and-package:
24+
needs: cancel-previous-runs
2425
strategy:
2526
fail-fast: false
2627
matrix:
@@ -40,6 +41,7 @@ jobs:
4041
token: ${{secrets.CODECOV_TOKEN}}
4142

4243
test-actions: # with latest released unittesting
44+
needs: cancel-previous-runs
4345
strategy:
4446
fail-fast: false
4547
matrix:
@@ -53,6 +55,7 @@ jobs:
5355
- uses: "./actions/run-tests"
5456

5557
test-package: # with v1 actions
58+
needs: cancel-previous-runs
5659
strategy:
5760
fail-fast: false
5861
matrix:
@@ -64,6 +67,7 @@ jobs:
6467
- uses: SublimeText/UnitTesting/actions/run-tests@v1
6568

6669
test-as-extra-package:
70+
needs: cancel-previous-runs
6771
strategy:
6872
fail-fast: false
6973
matrix:

0 commit comments

Comments
 (0)