ci(coverage): create code coverage

This commit is contained in:
EdJoPaTo
2021-10-24 03:15:55 +02:00
parent 0659a5ae6f
commit 9f463b70d1
+30
View File
@@ -0,0 +1,30 @@
name: Test Coverage
on:
push:
pull_request:
jobs:
tarpaulin:
name: Tarpaulin
runs-on: ubuntu-latest
steps:
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
override: true
toolchain: stable
- uses: actions/checkout@v2
- name: Run cargo-tarpaulin
uses: actions-rs/tarpaulin@v0.1
with:
args: --all-features
out-type: Html
- name: Upload Report
uses: actions/upload-artifact@v2
with:
name: report
path: tarpaulin-report.html