Skip to content

Commit

Permalink
run command
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelyr committed Nov 4, 2024
1 parent 410e02d commit 41300cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run-globus.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def run_on_endpoint(name, branch, env_file, install_file, run_file):
install_command = "cd {0}-test && chmod +x install.sh && ./install.sh {1}".format(name, branch)
install_result = subprocess.run([install_command], shell=True, encoding="utf_8", stdout=subprocess.PIPE, stderr=subprocess.STDOUT)

if install_result.returncode == 0:
if install_result.returncode != 0:
return (install_result, None)

run_command = "cd {0}-test && chmod +x run.sh && ./run.sh".format(name)
Expand Down

0 comments on commit 41300cb

Please sign in to comment.