Skip to content

Commit 8885e83

Browse files
authored
Fix benchmarks exit codes (PrefectHQ#7673)
1 parent 5b6602e commit 8885e83

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

benches/__main__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
targets.append(arg)
1616

1717

18-
subprocess.run(
18+
process = subprocess.run(
1919
[
2020
"pytest",
2121
"--no-cov",
@@ -29,3 +29,6 @@
2929
stdout=sys.stdout,
3030
stderr=sys.stderr,
3131
)
32+
33+
34+
sys.exit(process.returncode)

0 commit comments

Comments
 (0)