diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdf72e5802..f37d675e39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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