diff options
author | Dennis van der Schagt <dennisschagt@gmail.com> | 2024-11-10 15:15:00 +0100 |
---|---|---|
committer | Dennis van der Schagt <dennisschagt@gmail.com> | 2024-11-10 15:15:00 +0100 |
commit | f68453d29163aa22b2195eedf9b44e0a7af488ef (patch) | |
tree | 193ad5e6ec34697d3e00d835a420fa31d8a9e940 | |
parent | 3d4864ec3667d82e76841e6c84400db027e16de5 (diff) |
Remove GCOV overridedennis/bugfix/2912-ci-coveralls
-rw-r--r-- | .github/workflows/coveralls.yaml | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/.github/workflows/coveralls.yaml b/.github/workflows/coveralls.yaml index bbc683fb..f0326a43 100644 --- a/.github/workflows/coveralls.yaml +++ b/.github/workflows/coveralls.yaml @@ -66,16 +66,8 @@ jobs: - name: Run tests run: make --jobs=3 NEWSBOAT_RUN_IGNORED_TESTS=1 ci-check - # gcov tool from gcc doesn't understand profiling info that LLVM - # produces, so we trick grcov into using llvm-cov instead. We can't - # simply point grcov at llvm-cov, because the latter only behaves like - # gcc's gcov when invoked by that name. - - name: Prepare to use llvm-cov-18 as gcov - run: ln -s $(which llvm-cov-18) gcov - - name: Calculate test coverage - # Note that we override the path to gcov tool. - run: GCOV=$(pwd)/gcov grcov . --binary-path target/debug --ignore-not-existing --ignore='/*' --ignore='3rd-party/*' --ignore='doc/*' --ignore='test/*' --ignore='target/*' --ignore='newsboat.cpp' --ignore='podboat.cpp' -t lcov -o coverage.lcov + run: grcov . --binary-path target/debug --ignore-not-existing --ignore='/*' --ignore='3rd-party/*' --ignore='doc/*' --ignore='test/*' --ignore='target/*' --ignore='newsboat.cpp' --ignore='podboat.cpp' -t lcov -o coverage.lcov - name: Submit coverage to Coveralls uses: coverallsapp/github-action@v2 |