We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb79b4b commit f7bb4e9Copy full SHA for f7bb4e9
parallel_run_e2e.py
@@ -1,5 +1,6 @@
1
""" Calculate how many parallel workers are needed to complete E2E infrastructure jobs across available CPU Cores """
2
import subprocess
3
+import sys
4
from pathlib import Path
5
6
@@ -8,7 +9,8 @@ def main():
8
9
workers = len(list(features)) - 1
10
11
command = f"poetry run pytest -n {workers} --dist loadfile -o log_cli=true tests/e2e"
- subprocess.run(command.split(), shell=False)
12
+ result = subprocess.run(command.split(), shell=False)
13
+ sys.exit(result.returncode)
14
15
16
if __name__ == "__main__":
0 commit comments