From d577ed5499574bdd5392edff989b88aaf72e266e Mon Sep 17 00:00:00 2001 From: Felipe Martin Date: Sun, 6 Oct 2019 13:31:02 +0200 Subject: [PATCH] gitlab-ci: Run HTML coverage directly in tests --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c93940..63c7edf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,10 +25,10 @@ before_script: test: stage: test script: - - poetry run pytest . --cov=jeeves.core --cov-report xml --cov-report term + - poetry run pytest . --cov=jeeves.core --cov-report html --cov-report term artifacts: paths: - - coverage.xml + - htmlcov pages: stage: deploy @@ -37,7 +37,7 @@ pages: script: - poetry run docs/build.sh - mv docs/_build/html/ public - - coverage html --directory public/htmlcov + - mv htmlcov public/htmlcov artifacts: paths: - public