rcpch / rcpchgrowth-python

A python package to produce calculations for all growth issues
GNU Affero General Public License v3.0
5 stars 4 forks source link

Automatic linting, testing and test-coverage for all pushes #2

Open pacharanero opened 3 years ago

pacharanero commented 3 years ago

On the Flask API repo we had automated tests running when the Action to push to the alpha or unstable server was run.

Now that this code has been refactored out into its own repo, we can make this kind of check run automatically whenever we push to any branch, even a new feature branch.

https://docs.github.com/en/actions/guides/building-and-testing-python

eatyourpeas commented 3 years ago

Currently tests run automatically when a new release is made. We could make it on every push also.

pacharanero commented 1 year ago

This issue still requires actioning. I propose collecting a few similar pieces of outstanding work on the rcpchgrowth-python package and working on them as a small cluster of work projects.

There is a good example of how to set up the testing here, on the nhs-number package workflow https://github.com/uk-fci/nhs-number/commit/40e710fb384e9aa6d75f328fb82dbc5cae315a10