Skip to content

Commit b9f66ab

Browse files
DEV: Change to loadfile strategy for PyPy in CI (#3671)
It seems like the `loadfile` strategy to not use multiple workers for a test file seems to be more reliable than the tests on the current *main* branch. Let's hope that this finally brings us closer to CI not being unreliable with PyPy any more.
1 parent 071118b commit b9f66ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/github-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ jobs:
219219
# Coverage on PyPy is skipped because running coverage with PyPy is slow and CPython test already provides
220220
# complete coverage data for the same code
221221
run: |
222-
python -m pytest tests -n auto -vv -p no:benchmark -o faulthandler_timeout=60
222+
python -m pytest tests -n auto -vv -p no:benchmark -o faulthandler_timeout=60 --dist=loadfile
223223
if: ${{ startsWith(matrix.python-version, 'pypy') }}
224224
- name: Rename coverage data file
225225
run: mv .coverage ".coverage.$RANDOM"

0 commit comments

Comments
 (0)