chore: Add tarpaulin and releaser

This commit is contained in:
Fabio Lenherr 2023-09-18 11:06:23 +02:00
parent b436578ef6
commit b6665c459c
2 changed files with 32 additions and 0 deletions

View file

@ -16,6 +16,23 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: nightly-rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: rustfmt, clippy
- name: run code coverage
uses: actions-rs/tarpaulin@v0.1
with:
version: '0.15.0'
args: '-- --engine llvm --test-threads 1'
- name: upload code coverage
uses: actions/upload-artifact@v1
with:
name: code-coverage-report
path: code-coverage-report.xml
- name: Build
run: cargo build --verbose
- name: Run tests