diff --git a/README.md b/README.md index 34766ecd393f8d7576daa7e188159de3433041b5..4ca5706d6538a159d9333c68b054baae61542c01 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Example Python Package + + + 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. diff --git a/{{cookiecutter.project_slug}}/.gitlab-ci.yml b/{{cookiecutter.project_slug}}/.gitlab-ci.yml index b17457db642b7eceb4eed0f04724adb973ba7f4e..b39802350c5d281fa82ac4ffc31fa50af47dacdf 100644 --- a/{{cookiecutter.project_slug}}/.gitlab-ci.yml +++ b/{{cookiecutter.project_slug}}/.gitlab-ci.yml @@ -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: diff --git a/{{cookiecutter.project_slug}}/README.md b/{{cookiecutter.project_slug}}/README.md index e0127fbcf6b4c34242ac4d4ea59c76f0cfa7ba9e..4a0ae9083c5f75f291e3e193972b9e5aabe5651e 100644 --- a/{{cookiecutter.project_slug}}/README.md +++ b/{{cookiecutter.project_slug}}/README.md @@ -1,5 +1,10 @@ # {{cookiecutter.project_name}} +<!-- TODO: replace --> + + +<!--  --> + An example repository of an CI/CD pipeline for building, testing and publishing a python package. ## Installation