We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc871d6 commit 80c6307Copy full SHA for 80c6307
.github/workflows/ci.yml
@@ -34,5 +34,16 @@ jobs:
34
path: ~/.cargo/git
35
key: ${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }}
36
37
- - name: Build and Run Tests
38
- run: cargo test --verbose
+ - name: Install cargo-tarpaulin
+ run: cargo install cargo-tarpaulin --locked
39
+
40
+ - name: Run Tests with Coverage
41
+ run: cargo tarpaulin --exclude-files tests/* --out Xml --output-dir coverage
42
43
+ - name: Upload Coverage Report
44
+ uses: actions/upload-artifact@v3
45
+ with:
46
+ name: coverage-report
47
+ path: coverage
48
49
0 commit comments