diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 386fd0bd69173d4c88ad8316ef54fdae3cd6d3bc..418fb5890f6d6321a4ae914698ede0a12d9e9d27 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,11 +5,13 @@ pytest: - apt-get install -y python3-dev python3-pip graphviz graphviz-dev - pip install pytest - pip install . - - pytest --cov=cooperative_cuisine + - pytest --cov --cov-report term --cov-report xml:coverage.xml + coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/' artifacts: - when: always reports: - cobertura: coverage.xml + coverage_report: + coverage_format: cobertura + path: coverage.xml pages: script: