diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 97e750708b..5b2601608a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -4,7 +4,6 @@ on: push: branches: - main - pull_request: schedule: # Prime the caches every Monday - cron: 0 1 * * MON @@ -30,6 +29,8 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Use OCaml ${{ matrix.ocaml-compiler }} uses: ocaml/setup-ocaml@v2 @@ -46,6 +47,7 @@ jobs: run: opam exec -- dune runtest --instrument-with bisect_ppx - name: Send coverage report to Codecov - run: opam exec -- bisect-ppx-report send-to Codecov + run: opam exec -- bisect-ppx-report send-to Codecov --verbose env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} PULL_REQUEST_NUMBER: ${{ github.event.number }}