From: kaliko Date: Wed, 5 May 2021 11:55:27 +0000 (+0200) Subject: ci: Exposes unittest report to gitlab X-Git-Tag: 0.18.0~73 X-Git-Url: http://git.kaliko.me/?a=commitdiff_plain;h=406fd4576b5e8a5f8026a54018d57861fa546596;p=mpd-sima.git ci: Exposes unittest report to gitlab --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9a39e13..3bd7445 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,8 +21,7 @@ stages: smoketest: stage: test script: - - pip install pytest-cov requests - - py.test -q --cov=sima tests + - pip install requests - python setup.py test # build wheel and source - python setup.py bdist_wheel sdist @@ -37,6 +36,16 @@ smoketest: - dist/*.tar.gz - dist/*.zip +unittests: + stage: test + script: + - pip install pytest-cov requests + - py.test -q --cov=sima --junitxml=report.xml tests + artifacts: + when: always + reports: + junit: report.xml + vinstall: stage: test script: