You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2021/02/04 08:14:41 UTC

[buildstream] 01/01: .gitlab-ci.yml: Don't force 2 pytest-xdist workers

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch chandan/moar-runners
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 5e20b3920e906b710ee0f8c5d3c10a7cf73a4faa
Author: Chandan Singh <ch...@chandansingh.net>
AuthorDate: Thu Nov 5 15:54:15 2020 +0000

    .gitlab-ci.yml: Don't force 2 pytest-xdist workers
    
    Don't force only 2 workers for running tests. We have powerful machines
    that can run more than that in parallel, let's utilize them.
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2031e27..6b0df4e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,7 +28,7 @@ variables:
   DOCKER_IMAGE_VERSION: master-210859421
   PYTEST_ADDOPTS: "--color=yes"
   INTEGRATION_CACHE: "${CI_PROJECT_DIR}/cache/integration-cache"
-  PYTEST_ARGS: "--color=yes --integration -n 2"
+  PYTEST_ARGS: "--color=yes --integration -n auto"
   TEST_COMMAND: "tox -- ${PYTEST_ARGS}"
   TOXENV: py36, py37, py38-nocover, py39-nocover, py36-plugins, py37-plugins, py38-plugins-nocover, py39-plugins-nocover
   COVERAGE_PREFIX: "${CI_JOB_NAME}."