This PR makes sure we have pipeline tests for all pipelines in the repo (the annotation pipeline only has as smoke test).
It also adds reusable workflows for the pipeline and pytests workflows. This way we don't need to duplicate the code to run the tests. Also the pipelines run in parallel now so we speed up the time to run all the tests.
So now a new pipeline can be added like this (with both smoke and full tests:
This pr waits for this pr before merging to make sure all pipelines work: https://github.com/PMBio/deeprvat/pull/92
What
This PR makes sure we have pipeline tests for all pipelines in the repo (the annotation pipeline only has as smoke test). It also adds reusable workflows for the pipeline and pytests workflows. This way we don't need to duplicate the code to run the tests. Also the pipelines run in parallel now so we speed up the time to run all the tests.
So now a new pipeline can be added like this (with both smoke and full tests:
Instead of this:
And new code tests (pytest) can now be added like this:
Testing
All the tests should run in github actions, so proof reading the yaml files should be enough if the pipelines pass in actions.