use parallel test execution in ci

This commit is contained in:
Dmitry Rodionov
2021-09-14 16:26:53 +03:00
committed by Dmitry
parent 9563336d9a
commit 6a2e4bfdd9

View File

@@ -230,7 +230,8 @@ jobs:
# --verbose prints name of each test (helpful when there are
# multiple tests in one file)
# -rA prints summary in the end
pipenv run pytest --junitxml=$TEST_OUTPUT/junit.xml --tb=short -s --verbose -rA $TEST_SELECTION $EXTRA_PARAMS
# -n4 uses for processes to run tests via pytest-xdist
pipenv run pytest --junitxml=$TEST_OUTPUT/junit.xml --tb=short -s --verbose -n4 -rA $TEST_SELECTION $EXTRA_PARAMS
- run:
# CircleCI artifacts are preserved one file at a time, so skipping
# this step isn't a good idea. If you want to extract the