diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c13eab89..bf0e35b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,14 +59,16 @@ jobs: steps: - uses: actions/checkout@v3 + with: + # For Codecov, we must also fetch the parent of the HEAD commit to + # be able to properly deal with PRs / merges + fetch-depth: 2 - name: Setup julia uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.julia-version }} - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: - file: ./lcov.info - flags: unittests - name: codecov-umbrella + token: ${{ secrets.CODECOV_TOKEN }}