diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9eb5d3..e0b76fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,21 +48,31 @@ jobs: show-versioninfo: true - uses: julia-actions/cache@v2 - - name: Run tests + - name: Run tests without coverage + if: ${{ matrix.os != 'ubuntu-latest' }} + uses: julia-actions/julia-runtest@v1 + with: + coverage: false + + - name: Run tests with coverage + if: ${{ matrix.os == 'ubuntu-latest' }} uses: julia-actions/julia-runtest@v1 with: coverage: true - name: Process Julia coverage data + if: ${{ matrix.os == 'ubuntu-latest' }} uses: julia-actions/julia-processcoverage@v1 - name: Upload coverage data (Codecov) + if: ${{ matrix.os == 'ubuntu-latest' }} uses: codecov/codecov-action@v4 with: files: lcov.info token: ${{ secrets.CODECOV_TOKEN }} - name: Upload coverage data (Coveralls) + if: ${{ matrix.os == 'ubuntu-latest' }} uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }}