From 57ffa1f1d5e3dde19011b2127bd26d01689b694b Mon Sep 17 00:00:00 2001 From: Joergen Ibsen Date: Sat, 12 Feb 2022 10:41:58 +0100 Subject: [PATCH] Update gcov flags These flags were recommended in a Codecov tutorial. --- .github/workflows/tinf-ci-workflow.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tinf-ci-workflow.yaml b/.github/workflows/tinf-ci-workflow.yaml index f0b9eae..3d8262d 100644 --- a/.github/workflows/tinf-ci-workflow.yaml +++ b/.github/workflows/tinf-ci-workflow.yaml @@ -72,7 +72,7 @@ jobs: run: cd build && ctest -V --output-on-failure --interactive-debug-mode 0 - name: Generate coverage - run: cd build && gcov -b CMakeFiles/tinf.dir/src/*.c.gcno -o CMakeFiles/tinf.dir/src + run: cd build && gcov -abcfu CMakeFiles/tinf.dir/src/*.c.gcno -o CMakeFiles/tinf.dir/src - name: Upload coverage to Codecov uses: codecov/codecov-action@v2