tests: don't limit the number of pytest workers (#5441)

We used to do this because of gitpython leaks.
This commit is contained in:
Ruslan Kuprieiev
2021-02-11 12:27:00 +02:00
committed by GitHub
parent 039c2421d9
commit c635493104
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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)