From bb1aeef3af360038354f89e43e5ec209b76716c0 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Sun, 23 May 2021 22:20:22 +0200 Subject: [PATCH] #90: Generate coverage report Generate html report for future coverage deployment to Pages 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