From 4a817efbfb2a61cd6584483ae32a899557d68316 Mon Sep 17 00:00:00 2001 From: Saurabh Kumar <theskumar@users.noreply.github.com> Date: Mon, 29 Aug 2022 14:31:55 +0530 Subject: [PATCH] restrict the number of parallel test --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e9d1e0e9d..0fd14189e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -123,6 +123,7 @@ jobs: test-be: executor: with-database working_directory: ~/repo + parallelism: 4 steps: - checkout - attach_workspace: @@ -134,7 +135,7 @@ jobs: python manage.py check python manage.py makemigrations --check --noinput --verbosity=1 python manage.py collectstatic --noinput --no-post-process --verbosity=1 - pytest --cov + pytest --cov -n 2 codecov -- GitLab