Skip to content

tests structure and 98 % coverage #4

tests structure and 98 % coverage

tests structure and 98 % coverage #4

Workflow file for this run

name: coverage
on:
push:
branches: ["main"]
jobs:
test:
name: coverage
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:latest
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Generate code coverage
run: |
cargo tarpaulin --verbose --all-features --exclude-files "examples/*.rs" "benches/*.rs" --timeout 120 --out xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v2
with:
verbose: true