From 4e1398f23851de120b3489a242911d9a01349366 Mon Sep 17 00:00:00 2001 From: James Westman Date: Sat, 30 Apr 2022 16:04:50 -0500 Subject: [PATCH] ci: Add coverage --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9df1287..59508e9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ build: script: - mypy blueprintcompiler - coverage run -m unittest + - coverage report - coverage html - coverage xml - meson _build -Ddocs=true @@ -18,6 +19,7 @@ build: - cd blueprint-regression-tests - ./test.sh - cd .. + coverage: '/TOTAL.*\s([.\d]+)%/' artifacts: paths: - _build