Skip to content

Commit

Permalink
Codecov updates (#152)
Browse files Browse the repository at this point in the history
* Only process and upload code coverage results in two cases.

* Wait to report codecov checks until they are both in.
  • Loading branch information
LilithHafner authored Dec 1, 2024
1 parent c9571a3 commit 3051d66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ jobs:
arch: ${{ matrix.julia-arch }}
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
if: ${{ matrix.julia-version == 'min' && matrix.julia-arch == 'x64' || matrix.julia-version == 1 && matrix.os == 'ubuntu-latest' }}
- uses: codecov/codecov-action@v5
# Only upload two runs. We should cover everything in one of these two cases.
if: ${{ matrix.julia-version == 'min' && matrix.julia-arch == 'x64' || matrix.julia-version == 1 && matrix.os == 'ubuntu-latest' }}
with:
files: lcov.info
regression-tests:
Expand Down
4 changes: 4 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
comment: false
codecov:
notify:
after_n_builds: 2

0 comments on commit 3051d66

Please sign in to comment.