github: Don't search for coverage results

We explicitly pass the final .info file prepared with lcov, so there is
no need to search for other files (that then won't work anyway).  The
search also finds the uncleaned .info file, which includes the test code.

The latter should have gotten ignored anyway, but the patterns are
apparently not correct anymore. So fixing that as well just to be sure.
This commit is contained in:
Tobias Brunner
2024-04-04 15:00:13 +02:00
parent 75c5c5667d
commit 3a20170324
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -78,6 +78,7 @@ jobs:
- if: ${{ success() && matrix.test == 'coverage' }}
uses: codecov/codecov-action@v4
with:
disable_search: true
fail_ci_if_error: true
file: coverage/coverage.cleaned.info
token: ${{ secrets.CODECOV_TOKEN }}