pytest:
image: python:3.10-alpine
only:
- main
script:
- sh tests/start_tests_gitlab.sh
- sed -i "s#/builds/DasMoorhuhn/autopicture-v3/src#${CI_PROJECT_DIR}#g" coverage.xml
coverage: '/Code coverage: \d+(?:\.\d+)?/'
artifacts:
name: "$CI_JOB_NAME"
reports:
junit: report.xml
coverage_report:
coverage_format: cobertura
path: coverage.xml