Skip to content

Commit b28ccf2

Browse files
committed
Test run withou cleanup
1 parent 2cc778a commit b28ccf2

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

noxfile.py

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ def _run_tests(
102102
)
103103

104104

105-
@nox.session(reuse_venv=not os.environ.get("CI"), python=PYTHON_ALL_VERSIONS)
105+
@nox.session(reuse_venv=True, python=PYTHON_ALL_VERSIONS)
106106
def tests(session: nox.Session) -> None:
107107
"""Run the test suite."""
108108
_run_tests(session)
109-
if os.environ.get("CI"):
110-
_cleanup(session)
109+
# if os.environ.get("CI"):
110+
# _cleanup(session)
111111

112112

113113
@nox.session(reuse_venv=True, venv_backend="uv", python=PYTHON_ALL_VERSIONS)
@@ -121,19 +121,8 @@ def minimums(session: nox.Session) -> None:
121121
)
122122
env = {"UV_PROJECT_ENVIRONMENT": session.virtualenv.location}
123123
session.run("uv", "tree", "--frozen", env=env)
124-
if os.environ.get("CI"):
125-
_cleanup(session)
126-
127-
128-
@nox.session(reuse_venv=True, venv_backend="uv", python=PYTHON_ALL_VERSIONS)
129-
def qiskit(session: nox.Session) -> None:
130-
"""Tests against the latest version of Qiskit."""
131-
_run_tests(
132-
session,
133-
extra_command=["uv", "pip", "install", "qiskit[qasm3-import] @ git+https://github.com/Qiskit/qiskit.git"],
134-
)
135-
env = {"UV_PROJECT_ENVIRONMENT": session.virtualenv.location}
136-
session.run("uv", "pip", "show", "qiskit", env=env)
124+
# if os.environ.get("CI"):
125+
# _cleanup(session)
137126

138127

139128
@nox.session(reuse_venv=True)

0 commit comments

Comments
 (0)