ci.py: check the return code in run-local

If the run fails, it should report that and return a non-zero exit
status. The simplest way to do that is with `run(..., check=True)`,
which raises a `CalledProcessError`.
This commit is contained in:
Josh Stone 2025-01-23 12:28:52 -08:00
parent 99768c80a1
commit 8eebbbaac2

View file

@ -249,7 +249,7 @@ def run_workflow_locally(job_data: Dict[str, Any], job_name: str, pr_jobs: bool)
env = os.environ.copy()
env.update(custom_env)
subprocess.run(args, env=env)
subprocess.run(args, env=env, check=True)
def calculate_job_matrix(job_data: Dict[str, Any]):