Skip to content

Commit

Permalink
Merge pull request #2136 from skyleaworlder/master
Browse files Browse the repository at this point in the history
[ISSUE 1939] Update workflow, to only generate coverage for a specific entry
  • Loading branch information
ToucheSir committed Dec 19, 2022
2 parents 4a2dc27 + fcbf829 commit c14dff8
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,21 @@ jobs:
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- name: "Run test without coverage report"
uses: julia-actions/julia-runtest@v1
if: ${{ !contains(fromJson('["1", "1.6"]'), matrix.version) || matrix.os != 'ubuntu-latest' }}
with:
coverage: false

- name: "Run test with coverage report"
uses: julia-actions/julia-runtest@v1
if: contains(fromJson('["1", "1.6"]'), matrix.version) && matrix.os == 'ubuntu-latest'
- uses: julia-actions/julia-processcoverage@v1
if: contains(fromJson('["1", "1.6"]'), matrix.version) && matrix.os == 'ubuntu-latest'
- uses: codecov/codecov-action@v2
if: contains(fromJson('["1", "1.6"]'), matrix.version) && matrix.os == 'ubuntu-latest'
with:
file: lcov.info

docs:
name: Documentation
Expand Down

0 comments on commit c14dff8

Please sign in to comment.