ga4gh / gh-openapi-docs

Package for building OpenAPI schema docs and UI for gh-pages
Apache License 2.0
7 stars 5 forks source link

Abort program if a subprocess fails #63

Open jb-adams opened 3 years ago

jb-adams commented 3 years ago

My solution for #60

Essentially, checks that each shell subprocess launched by the program exited without an error. If a subprocess exited with an error, the offending step is output to the console, and the program exits without performing the remaining steps.

tschaffter commented 3 years ago

Note: CI fails because @jb-adams is pushing from a fork, in which case the GitHub Secrets defined in this repo are not available.

jb-adams commented 3 years ago

@tschaffter I added a COVERALLS_REPO_TOKEN env variable for building on my end. Will this cause the build on ga4gh fork to break once merged? If so, I'll remove it