Skip to content

Commit a3acb00

Browse files
committed
Fix Codecov CI: add secret token
1 parent 7186af2 commit a3acb00

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/coverage.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
3131
- name: Checkout code
3232
uses: actions/checkout@v4
33+
with:
34+
fetch-depth: 0
3335

3436
- name: Use OCaml ${{ matrix.ocaml-compiler }}
3537
uses: ocaml/setup-ocaml@v2
@@ -46,6 +48,7 @@ jobs:
4648
run: opam exec -- dune runtest --instrument-with bisect_ppx
4749

4850
- name: Send coverage report to Codecov
49-
run: opam exec -- bisect-ppx-report send-to Codecov
51+
run: opam exec -- bisect-ppx-report send-to Codecov --verbose
5052
env:
53+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5154
PULL_REQUEST_NUMBER: ${{ github.event.number }}

0 commit comments

Comments
 (0)