From 5f20eab0be2c4bddc4cb982788888ace12f6e5bd Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Tue, 8 Jun 2021 18:31:53 +0200 Subject: [PATCH] [ci] #90: Generate coverage report on tests:3.9 job Generate html report for future coverage deployment to Pages #167 Display report for GitLab to match it with a regex to generate the badge --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f945db0a..1ac0c7c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -87,11 +87,14 @@ tests-3.8: extends: .tests tags: [redshift] -tests-3.9: +tests-3.9:cov: extends: .tests tags: [redshift] variables: PYTHON_VERSION: "3.9" + script: + - poetry install + - poetry run pytest --cov duniterpy --cov-report html:cov_html --cov-report term release: stage: release -- GitLab