mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
tests: don't limit the number of pytest workers (#5441)
We used to do this because of gitpython leaks.
This commit is contained in:
@@ -80,7 +80,7 @@ jobs:
|
||||
mkdir -p scripts/ci
|
||||
echo "$GS_CREDS_JSON" > scripts/ci/gcp-creds.json
|
||||
- name: run tests
|
||||
run: python -m tests --all --cov-report=xml --cov-report=term --tap-combined
|
||||
run: python -m tests --all --cov-report=xml --cov-report=term --tap-combined -n=4
|
||||
- name: upload coverage report
|
||||
uses: codecov/[email protected]
|
||||
with:
|
||||
|
||||
+1
-1
@@ -16,5 +16,5 @@ os.putenv("DVC_HOME", REPO_ROOT)
|
||||
|
||||
params = " ".join(sys.argv[1:])
|
||||
|
||||
cmd = "pytest -v -n=4 --cov=dvc --durations=0 {params}".format(params=params)
|
||||
cmd = f"pytest -v -n=auto --dist loadscope --cov=dvc --durations=0 {params}"
|
||||
check_call(cmd, shell=True)
|
||||
|
||||
Reference in New Issue
Block a user