Skip to content
Snippets Groups Projects
Commit 0e753327 authored by Klaas Kliffen's avatar Klaas Kliffen :satellite:
Browse files

Add coverage in pipeline and badges to readmes

parent 4124c594
No related branches found
No related tags found
No related merge requests found
# Example Python Package
![Build status](https://git.astron.nl/templates/python-package/badges/main/pipeline.svg)
![Test coverage](https://git.astron.nl/templates/python-package/badges/main/coverage.svg)
An example repository of an CI/CD pipeline for building, testing and publishing a python package.
If you find some missing functionality with regards to CI/CD, testing, linting or something else, feel free to make a merge request with the proposed changes.
......
......@@ -50,6 +50,7 @@ run_unit_tests_coverage:
image: python:3.7
script:
- tox -e coverage
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts:
reports:
coverage_report:
......
# {{cookiecutter.project_name}}
<!-- TODO: replace -->
![Build status](https://git.astron.nl/templates/python-package/badges/main/pipeline.svg)
![Test coverage](https://git.astron.nl/templates/python-package/badges/main/coverage.svg)
<!-- ![Latest release](https://git.astron.nl/templates/python-package/badges/main/release.svg) -->
An example repository of an CI/CD pipeline for building, testing and publishing a python package.
## Installation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment