diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc66c1206e9c31627c6199099d83e60197ab726e..ddc43cd1067804555473d993f139b405e6a4f2a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -124,13 +124,19 @@ tests:3.8: tests:3.9:coverage: extends: .tests tags: [redshift] + coverage: '/(?i)total.*\s+(\d+%)/' script: - poetry install - - poetry run pytest --cov silkaj --cov-report html:cov_html --cov-report term + - poetry run pytest --cov silkaj --cov-report html:cov_html --cov-report xml --cov-report term artifacts: paths: - cov_html + - coverage.xml expire_in: 2 days + reports: + coverage_report: + coverage_format: cobertura + path: coverage.xml tests:3.10: extends: .tests