Skip to content

Commit 772b3a4

Browse files
committed
Run tests 4 times in CI to catch race conditions
1 parent f64dea7 commit 772b3a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
- name: install dependencies
2121
run: npm ci
2222
- name: run tests
23-
run: npm run test:ci
23+
run: for i in {1..4}; do npm run test:ci || exit 1; done
2424
- name: Coveralls
2525
uses: coverallsapp/github-action@v2

0 commit comments

Comments
 (0)