Manta-Network / Manta

The main repo for manta blockchain nodes.
GNU General Public License v3.0
240 stars 119 forks source link

Stop CI on failure of individual step #592

Open Garandor opened 2 years ago

Garandor commented 2 years ago

If say cargo fmt in check_build fails early in the pipeline, other long-running steps like run_test and create_draft_release still execute and run to finish, wasting runner time if not manually cancelled.

We need to refactor the pipeline so that a failure in one step autamatically aborts all others.

ghzlatarev commented 2 years ago

The workflows run in parallel to save on time. If we want them to cancel each other, we gotta make a new workflow that will cancel them all, and that will be triggered if any one of them fails.

Garandor commented 2 years ago

I'd like to ask Pierre if he has capacity to look at this. Could get him indroduced to our repo

Garandor commented 2 years ago

https://github.com/Manta-Network/Manta/issues/503 is a higher priority issue to look into providing iteration speed instead of just cost savings