From dc1d8640a7bcbd988869db15b85c41599bfc5461 Mon Sep 17 00:00:00 2001 From: Fabian Meyer Date: Fri, 17 May 2024 08:24:24 +0200 Subject: [PATCH] Fix lcov source directory --- .github/workflows/cmake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 5f69b8e..1c005e8 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -33,7 +33,7 @@ jobs: run: ctest -C Debug ---output-on-failure -test-dir ${{runner.workspace}}/build - name: Generate Coverage run: | - lcov --capture --directory . --output-file ${{runner.workspace}}/lcov.info + lcov --capture --directory ${{runner.workspace}}/build --output-file ${{runner.workspace}}/lcov.info lcov --remove ${{runner.workspace}}/lcov.info '/usr/*' '*/dep/*' --output-file ${{runner.workspace}}/lcov.info lcov --list ${{runner.workspace}}/lcov.info - name: Codecov