From b1c6a6b2f5c60244cb0087fd6c6c82ef65563baf Mon Sep 17 00:00:00 2001 From: Daniel Kosc <da741kos@htwg-konstanz.de> Date: Sun, 6 Jun 2021 16:50:22 +0200 Subject: [PATCH] test --- .gitlab-ci.yml | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 430fa35..e9d84cb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,31 +16,16 @@ stages: - build - deploy -#test: -# stage: test -# script: -# - pip install pytest-cov -# - coverage run -m pytest -# - coverage report -# - pytest --junitxml=report.xml -# artifacts: -# paths: -# - /builds/kypolab/theses/apg/kosc-automated-problem-generation-lib/report.xml -# when: always -# reports: -# junit: -# - /builds/kypolab/theses/apg/kosc-automated-problem-generation-lib/report.xml - -pytest: +test: stage: test script: - - pytest --junitxml=report.xml + - pip install pytest-cov + - coverage run -m pytest + - coverage xml artifacts: when: always reports: - junit: report.xml - - + cobertura: coverage.xml -- GitLab