From 3a2017032451aecb2921d19684f8fde8e8893428 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 4 Apr 2024 14:14:29 +0200 Subject: [PATCH] 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. --- .codecov.yml | 4 ++-- .github/workflows/linux.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index aa85a5ab2..2c32fe360 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,3 +1,3 @@ ignore: - - "*/suites/*" - - "*/tests/*" + - "**/suites/" + - "**/tests/" diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index dc1301932..5641aa942 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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 }}