diff options
-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 |