diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4edc79d..fc271c0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,9 @@ artifacts: reports: junit: [ '**/report.xml' ] + coverage_report: + coverage_format: cobertura + path: '**/coverage.xml' test: extends: .test @@ -18,15 +21,10 @@ test: - pytest test_decrypt.py - test_instance_token.py script: + - echo "Testing $TEST_FILE" ... - coverage run -m pytest $TEST_FILE --junitxml=report.xml --suppress-no-test-exit-code - coverage report $TEST_FILE - coverage xml $TEST_FILE - artifacts: - reports: - junit: [ "**/report.xml" ] - coverage_report: - coverage_format: cobertura - path: "**/coverage.xml" docker:inspect: rules: