]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
github: Don't search for coverage results
authorTobias Brunner <tobias@strongswan.org>
Thu, 4 Apr 2024 12:14:29 +0000 (14:14 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 4 Apr 2024 13:00:13 +0000 (15:00 +0200)
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
.github/workflows/linux.yml

index aa85a5ab20ac3c225b0eafd8a4b5388069f90e96..2c32fe3600834db2c1d6f2bdd698332397a86fba 100644 (file)
@@ -1,3 +1,3 @@
 ignore:
-  - "*/suites/*"
-  - "*/tests/*"
+  - "**/suites/"
+  - "**/tests/"
index dc13019320445f8f9c6f6c81440677b74ab25a45..5641aa942e0ffdb64f3427fc5e4842c0968d601f 100644 (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 }}