From 5c2ee653f41a38858cfaf602df639276ae1c7fbb Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Sun, 4 Jul 2021 15:44:59 +0200 Subject: [PATCH] Workflow wip... --- .github/workflows/build_cmake.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index aa64a11..4412e93 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -110,8 +110,10 @@ jobs: cd build && ctest -C ${{ matrix.config.build_type }} - name: Collect coverage info + if: startsWith(matrix.config.build_type, 'Debug') run: | cd build lcov --compat-libtool --directory . --capture --output-file coverage_output.info lcov --remove coverage_output.info '/usr/*' '*/c++/*' '*.h' '*/catch.hpp' -o coverage.info - sed -i 's|SF:/.*/filesystem/|SF:../|g' coverage.info \ No newline at end of file + sed -i 's|SF:/.*/filesystem/|SF:../|g' coverage.info + coveralls-lcov coverage.info