From 503c88ccf188af25d170667b46bea0164d38d840 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sat, 24 May 2025 15:41:05 +0200 Subject: ci: clean up coverage generation --- .gitlab-ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index faea96e..e13c26c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,23 +33,21 @@ build-and-test: parallel: matrix: - BUILD_TYPE: - - Debug + - RelWithDebInfo - MinSizeRel coverage: stage: coverage script: - - lcov -c -o coverage.info -d build -b . --config-file .lcovrc - - lcov -l coverage.info - - genhtml -o coverage coverage.info + - lcov --config-file .lcovrc --capture --directory $(pwd) --output-file coverage.info + - lcov --config-file .lcovrc --list coverage.info coverage: '/Total:\|(\d+\.?\d+)\%/' artifacts: paths: - - coverage/* - coverage.info expire_in: 24 hours needs: - job: build-and-test parallel: matrix: - - BUILD_TYPE: Debug + - BUILD_TYPE: RelWithDebInfo -- cgit v1.2.3