Skip to content

Commit 3c59534

Browse files
committed
Also test install --check
1 parent c7e3a72 commit 3c59534

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/test_workflow.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,16 @@ def test_whole_workflow(tmpdir):
223223
subprocess.check_call(
224224
[str(venv_dir / "bin" / "python"), "-m", "bench_runner", "install"]
225225
)
226+
# install --check should never fail immediately after install
227+
subprocess.check_call(
228+
[
229+
str(venv_dir / "bin" / "python"),
230+
"-m",
231+
"bench_runner",
232+
"install",
233+
"--check",
234+
]
235+
)
226236
with open("requirements.txt", "w") as fd:
227237
fd.write(f"{str(bench_runner_checkout)}\n")
228238
subprocess.check_call(

0 commit comments

Comments
 (0)