Restored coverage with tarpaulin

This commit is contained in:
veeso
2021-04-05 09:25:19 +02:00
parent 1ba139aed1
commit a1632492ed
2 changed files with 22 additions and 6 deletions

22
.github/workflows/coverage.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: coverage
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
coverage:
name: Generate coverage
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run cargo-tarpaulin
uses: actions-rs/tarpaulin@v0.1
with:
args: "--ignore-tests -- --test-threads 1"
- name: Upload to codecov.io
uses: codecov/codecov-action@v1