From 442436c44ca36b0f093531ab8eae560c4dab1b34 Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson <oscar.gustafsson@gmail.com> Date: Tue, 21 Jun 2022 15:55:19 +0200 Subject: [PATCH] Add coverage to GitLab --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3b2095bb..90fa96d9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,4 +13,9 @@ before_script: run tests: stage: test script: - - pytest test \ No newline at end of file + - pytest --cov=b_asic --cov-report xml:cov.xml test + artifacts: + reports: + coverage_report: + coverage_format: cobertura + path: cov.xml -- GitLab