From 406fd4576b5e8a5f8026a54018d57861fa546596 Mon Sep 17 00:00:00 2001 From: kaliko Date: Wed, 5 May 2021 13:55:27 +0200 Subject: [PATCH] ci: Exposes unittest report to gitlab --- .gitlab-ci.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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: -- 2.39.5