ONSdigital / dp-python-tools

Simple reusable python resources for digital publishing.
MIT License
1 stars 0 forks source link

github action to run tests and code quality (DIS-656) #37

Closed osamede20 closed 7 months ago

osamede20 commented 7 months ago

What

Added a test action and a code quality action to dp-python-tools that work in the same way as they do in dp-data-pipelines (minus the features action) - code_quality.yaml and pytest.yaml

Adapted the github actions to run against the ./tests/ directory as well as the application code - Makefile

How to review

Run:

make fmt
make lint
make test

Who can review

A Software Engineers can review

osamede20 commented 7 months ago

Yes, fixing the lint issue is part of the ticket. I will fix the files shortly. I believe the the code quality checks will be successful when the lint issue is fixed Thanks.