mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
24 lines
632 B
YAML
24 lines
632 B
YAML
name: coverage
|
|
on: [push]
|
|
|
|
jobs:
|
|
test:
|
|
name: coverage
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: xd009642/tarpaulin:develop-nightly
|
|
options: --security-opt seccomp=unconfined
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@main
|
|
|
|
- name: Generate coverage report
|
|
run: |
|
|
cargo +nightly tarpaulin --verbose --out xml --tests --exclude-files benches/* --exclude-files mlua-sys/src/*/*
|
|
|
|
- name: Upload report to codecov.io
|
|
uses: codecov/codecov-action@v4
|
|
with:
|
|
token: ${{secrets.CODECOV_TOKEN}}
|
|
fail_ci_if_error: false
|