Skip to content

Commit

Permalink
Limit Codecov uploads to certain Julia version.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Jun 14, 2024
1 parent b119641 commit 4017cf7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/Check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ jobs:
julia --color=yes --project --code-coverage=${{ env.coverage_flag }} -e 'using Runic; exit(Runic.main(ARGS))' -- --check --diff $(git ls-files -- '*.jl')
if: ${{ matrix.version != 'nightly' }}
- uses: julia-actions/julia-processcoverage@v1
if: ${{ matrix.version == '1' || matrix.version == 'nightly' }}
- uses: codecov/codecov-action@v4
with:
file: lcov.info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: ${{ matrix.version == '1' || matrix.version == 'nightly' }}
2 changes: 2 additions & 0 deletions .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ jobs:
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
if: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }}
- uses: codecov/codecov-action@v4
with:
file: lcov.info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }}

0 comments on commit 4017cf7

Please sign in to comment.