mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-09 13:20:43 +08:00
26 lines
739 B
YAML
26 lines
739 B
YAML
name: coverage
|
|
on:
|
|
push: { branches: [ '*' ] }
|
|
workflow_dispatch:
|
|
jobs:
|
|
coverage:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: xd009642/tarpaulin:develop-nightly
|
|
options: --security-opt seccomp=unconfined
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
fetch-depth: 512
|
|
fetch-tags: true
|
|
filter: 'tree:0'
|
|
- name: Tarpaulin
|
|
run: |
|
|
cargo +nightly build --verbose --all-features --workspace
|
|
cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 3600 --out xml
|
|
- name: Upload to codecov.io
|
|
uses: codecov/codecov-action@v7
|
|
with:
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
fail_ci_if_error: true
|