15 lines
361 B
YAML
15 lines
361 B
YAML
pytest:
|
|
image: python:3.10-alpine
|
|
only:
|
|
- main
|
|
script:
|
|
- sh tests/start_tests_gitlab.sh
|
|
- - sed -i "s#<source>/app/src</source>#<source>${CI_PROJECT_DIR}/src</source>#g" coverage.xml
|
|
artifacts:
|
|
name: "$CI_JOB_NAME"
|
|
reports:
|
|
junit: report.xml
|
|
coverage_report:
|
|
coverage_format: cobertura
|
|
path: coverage.xml
|