Skip to content

Commit

Permalink
Always re-create Nox benchmark environment (to avoid CI problems).
Browse files Browse the repository at this point in the history
  • Loading branch information
trexfeathers committed Nov 24, 2022
1 parent 22a6f63 commit 6957388
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Expand Up @@ -169,4 +169,4 @@ benchmark_task:
- export CONDA_OVERRIDE_LINUX="$(uname -r | cut -d'+' -f1)"
- nox --session=tests --install-only
- export DATA_GEN_PYTHON=$(realpath $(find .nox -path "*tests*bin/python"))
- nox --session="benchmarks(branch)" -- "${CIRRUS_BASE_SHA}"
- nox --no-reuse-existing-virtualenvs --session="benchmarks(branch)" -- "${CIRRUS_BASE_SHA}"
2 changes: 1 addition & 1 deletion noxfile.py
Expand Up @@ -337,7 +337,7 @@ def tests(session: nox.sessions.Session):
session.run("pytest")


@nox.session(reuse_venv=False)
@nox.session
@nox.parametrize(
"run_type",
["branch", "sperf", "custom"],
Expand Down

0 comments on commit 6957388

Please sign in to comment.