From 6a2e4bfdd998d0b60045804065a05da98e412a23 Mon Sep 17 00:00:00 2001 From: Dmitry Rodionov Date: Tue, 14 Sep 2021 16:26:53 +0300 Subject: [PATCH] use parallel test execution in ci --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c6d6e3bb51..04d79e6002 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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