Skip to content

Commit 04b3ddb

Browse files
authored
[ci] Repeat failed tests without the parallel flag (subtest issue)
Repeat tests withtout the parallel flag because subtests do not get pickled correclty in parallel tests.
1 parent 1745a0a commit 04b3ddb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,10 @@ jobs:
8787
- name: Tests
8888
if: ${{ !cancelled() && steps.deps.conclusion == 'success' }}
8989
run: |
90-
coverage run runtests.py --parallel
90+
coverage run runtests.py --parallel || coverage run ./runtests.py
9191
# tests the extension capability
92-
SAMPLE_APP=1 coverage run ./runtests.py --parallel --keepdb --exclude-tag=selenium_tests
92+
SAMPLE_APP=1 coverage run ./runtests.py --parallel --keepdb --exclude-tag=selenium_tests \
93+
|| SAMPLE_APP=1 coverage run ./runtests.py --keepdb --exclude-tag=selenium_tests
9394
coverage combine
9495
coverage xml
9596
env:

0 commit comments

Comments
 (0)