Skip to content

Commit

Permalink
Fix Codecov CI: add secret token
Browse files Browse the repository at this point in the history
  • Loading branch information
art-w committed Jul 23, 2024
1 parent 7186af2 commit cb4bc90
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- eio
pull_request:
schedule:
# Prime the caches every Monday
Expand All @@ -30,6 +31,8 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
Expand All @@ -46,6 +49,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 }}

0 comments on commit cb4bc90

Please sign in to comment.