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:
parent
99768c80a1
commit
8eebbbaac2
1 changed files with 1 additions and 1 deletions
|
|
@ -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]):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue