practical/3.yml_for_unitary_tests.md - 4th version (OPTIONAL) -
https://gitlab.inria.fr/vrouvrea/gitlabciworkshop/-/pipelines/latest
returns 404
While https://gitlab.inria.fr/vrouvrea/gitlabciworkshop/-/pipelines
is ok with the last pipeline is tagged as latest
To be tested, but maybe we should advise to do:
- coverage run -m pytest -rsv --junit-xml=report.xml # Generate test report in junit format
- coverage report # for displaying coverage in job logs
- coverage xml # for generating coverage.xml report
coverage: '/^TOTAL.+?(\d+\%)$/'
artifacts:
when: always
reports:
coverage_report:
coverage_format: cobertura
path: coverage.xml
junit: report.xml
interruptible: true