Arxcis / adventofcode2020

Community-project solving https://adventofcode.com/ - problems, with Github CI, Docker and support for many languages.
6 stars 8 forks source link

1 workflow with 25 jobs, instead of 25 workflows with 1 job #121

Closed Arxcis closed 2 years ago

Arxcis commented 2 years ago

Proposal

I propose we merge together the 25 workflows for a given year into a single workflow representing the tests for the whole year.

The tests will take the same amount of time to complete, as there will be 25 jobs all running in parallell inside the single workflow.

Drawbacks

Advantages

Conclusion

I think that this PR gives us a good sweet spot, making it easier for us to maintain the workflow files, but still giving us quick feedback running the tests, because tests for all days will still run in parallel and the first job/day that fails will fail the entire workflow/year.

Changelog

Expected behaviour

image