Skip to content

Commit 5a2241f

Browse files
committed
Revert "Remove parallelism"
This reverts commit 2ed1649.
1 parent 7a20ed0 commit 5a2241f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
marks="not production_server"
152152
fi
153153
154-
pytest --durations=20 --dist load -sv $codecov -o log_cli=true -m "$marks"
154+
pytest -n 4 --durations=20 --dist load -sv $codecov -o log_cli=true -m "$marks"
155155
156156
- name: Run tests on Ubuntu Production
157157
if: matrix.os == 'ubuntu-latest'
@@ -169,14 +169,14 @@ jobs:
169169
marks="production_server"
170170
fi
171171
172-
pytest --durations=20 --dist load -sv $codecov -o log_cli=true -m "$marks"
172+
pytest -n 4 --durations=20 --dist load -sv $codecov -o log_cli=true -m "$marks"
173173
174174
- name: Run tests on Windows
175175
if: matrix.os == 'windows-latest'
176176
env:
177177
OPENML_TEST_SERVER_ADMIN_KEY: ${{ secrets.OPENML_TEST_SERVER_ADMIN_KEY }}
178178
run: | # we need a separate step because of the bash-specific if-statement in the previous one.
179-
pytest --durations=20 --dist load -sv --reruns 5 --reruns-delay 1 -m "not test_server"
179+
pytest -n 4 --durations=20 --dist load -sv --reruns 5 --reruns-delay 1 -m "not test_server"
180180
181181
- name: Upload coverage
182182
if: matrix.code-cov && always()

0 commit comments

Comments
 (0)