Use -n=auto in tests

Linux/Windows machines have only 2 cores, whereas macOS machines have 3 cores. Maybe we are stretching available resources by 2x, let's see if `-n=auto` improves test freezes.
This commit is contained in:
Saugat Pachhai
2021-10-22 08:46:55 +05:45
committed by GitHub
parent 73f2fa8c93
commit 800fbc7ad0
+1 -1
View File
@@ -107,7 +107,7 @@ jobs:
OSS_ACCESS_KEY_SECRET: ${{ secrets.OSS_ACCESS_KEY_SECRET}}
OSS_ENDPOINT: ${{ secrets.OSS_ENDPOINT}}
run: >-
python -m tests -n=4
python -m tests -n=auto
--cov-report=xml --cov-report=term
--enable-ssh ${{ env.extra_test_args }}
- name: upload coverage report