From: Tobias Brunner Date: Thu, 4 Apr 2024 12:14:29 +0000 (+0200) Subject: github: Don't search for coverage results X-Git-Tag: android-2.5.2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a2017032451aecb2921d19684f8fde8e8893428;p=thirdparty%2Fstrongswan.git 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. --- diff --git a/.codecov.yml b/.codecov.yml index aa85a5ab20..2c32fe3600 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 dc13019320..5641aa942e 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 }}