try coverage

This commit is contained in:
2023-12-12 02:38:13 +01:00
parent 3e0a40eee9
commit 941aa141af
3 changed files with 17 additions and 3 deletions

View File

@@ -1,10 +1,9 @@
pytest:
image: python:3.10-alpine
only:
- main
script:
- sh tests/start_tests_gitlab.sh
- sed -i "s#<source>/builds/DasMoorhuhn/autopicture-v3/src</source>#<source>${CI_PROJECT_DIR}</source>#g" coverage.xml
coverage: '/Code coverage: \d+(?:\.\d+)?/'
artifacts:
name: "$CI_JOB_NAME"
reports: