-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc4dc9c
commit 90ecbe2
Showing
2 changed files
with
37 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: coverage | ||
|
||
on: [push] | ||
jobs: | ||
test: | ||
name: coverage | ||
runs-on: ubuntu-latest | ||
container: | ||
image: xd009642/tarpaulin:develop-nightly | ||
options: --security-opt seccomp=unconfined | ||
strategy: | ||
matrix: | ||
# FIXME: currently not available for 5.0.0. | ||
# It might be related to boxroot dependency, and we would need to bump | ||
# up the ocaml-rs dependency | ||
ocaml_version: ["4.14"] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
||
- name: Setup OCaml ${{ matrix.ocaml_version }} | ||
uses: ocaml/setup-ocaml@v2 | ||
with: | ||
ocaml-compiler: ${{ matrix.ocaml_version }} | ||
# https://github.com/ocaml/setup-ocaml/issues/211#issuecomment-1058882386 | ||
# disable-cache: true | ||
|
||
# Not activating all features because of Caml | ||
- name: Generate code coverage | ||
run: | | ||
cargo +nightly tarpaulin --verbose --release --workspace --timeout 120 --out xml | ||
# - name: Upload to codecov.io | ||
# uses: codecov/codecov-action@v2 | ||
# with: | ||
# # token: ${{secrets.CODECOV_TOKEN}} # not required for public repos | ||
# fail_ci_if_error: true |
This file was deleted.
Oops, something went wrong.