Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pacharanero opened this issue Apr 27, 2021 · 2 comments
Open

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

pacharanero opened this issue Apr 27, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request testing

Comments

@pacharanero
Copy link
Member

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

@pacharanero pacharanero added enhancement New feature or request testing labels Apr 27, 2021
@pacharanero pacharanero self-assigned this Apr 27, 2021
@eatyourpeas
Copy link
Member

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

@pacharanero
Copy link
Member Author

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
uk-fci/nhs-number@40e710f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing
Projects
None yet
Development

No branches or pull requests

2 participants