From 727ce9a789d91fdf52d2190bb4612db94d12d84e 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 41380912..cd8f9b96 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -81,11 +81,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