From 94225d43974a392243027caf35497effe051efea Mon Sep 17 00:00:00 2001 From: Romain Cledat Date: Tue, 13 Aug 2024 21:17:49 -0700 Subject: [PATCH] More reduction in parallelism --- .github/workflows/test.yml | 2 +- tests/test_env_create.py | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c842c79..7ce64a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,4 +53,4 @@ jobs: set -x which pytest mkdir .metaflow - pytest -n 4 tests + pytest -n 2 tests diff --git a/tests/test_env_create.py b/tests/test_env_create.py index 901e2e3..4ca9544 100644 --- a/tests/test_env_create.py +++ b/tests/test_env_create.py @@ -129,8 +129,7 @@ def test_resolve_and_check_env(capsys, python_version, file_type, file_name, ali "conda_env", "testing", "envs_%s" % conda_rand, - ), - ignore_errors=True, + ) ) shutil.rmtree( os.path.join( @@ -138,8 +137,7 @@ def test_resolve_and_check_env(capsys, python_version, file_type, file_name, ali "conda_env", "testing", "packages_%s" % conda_rand, - ), - ignore_errors=True, + ) ) - shutil.rmtree(env_dict["CONDA_ENVS_DIRS"], ignore_errors=True) - shutil.rmtree(env_dict["CONDA_PKGS_DIRS"], ignore_errors=True) + shutil.rmtree(env_dict["CONDA_ENVS_DIRS"]) + shutil.rmtree(env_dict["CONDA_PKGS_DIRS"])