diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2f70a828083ea647a37ca96354f549bce985e749..6f640e647943e386853cbc975db376f865fa9d5a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,18 +21,14 @@ test: script: - pip install pytest-cov - coverage run -m pytest - - coverage xml + - coverage report + - pytest --junitxml=report.xml - mkdir dist - - cp coverage.xml dist - - pwd - - ls -la - - cd .. - - ls -la - + - cp report.xml dist artifacts: when: always reports: - cobertura: dist/ + junit: dist/ @@ -50,8 +46,6 @@ build: stage: build script: - python3 setup.py bdist_wheel - - pwd - - ls -la only: - branches - tags