Skip to content

Commit

Permalink
More reduction in parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-intel committed Aug 14, 2024
1 parent 52901ac commit 94225d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ jobs:
set -x
which pytest
mkdir .metaflow
pytest -n 4 tests
pytest -n 2 tests
10 changes: 4 additions & 6 deletions tests/test_env_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,17 +129,15 @@ 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(
os.environ["METAFLOW_DATASTORE_SYSROOT_LOCAL"],
"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"])

0 comments on commit 94225d4

Please sign in to comment.