Skip to content

feat: reintroduce coverage with tarpaulin and codecov #1

feat: reintroduce coverage with tarpaulin and codecov

feat: reintroduce coverage with tarpaulin and codecov #1

Workflow file for this run

name: Coverage

Check failure on line 1 in .github/workflows/coverage.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/coverage.yml

Invalid workflow file

`pull` is not a valid event name
on:
push:
branches: [ master, test-ci ]
pull:
branches: [ master, test-ci ]
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@v2
- name: Generate code coverage
run: |
cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v2
with:
# use_oidc: true
# token: ${{secrets.CODECOV_TOKEN}} # not required for public repos
fail_ci_if_error: true