We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8a58bb commit 9c2e8bcCopy full SHA for 9c2e8bc
.github/workflows/rust.yml
@@ -75,11 +75,25 @@ jobs:
75
uses: actions/checkout@v2
76
- name: Test
77
run: cargo test --all-features
78
+
79
+ test-coverage:
80
+ runs-on: ubuntu-latest
81
+ steps:
82
+ - name: Setup Rust
83
+ uses: hecrj/setup-rust-action@v1
84
+ with:
85
+ rust-version: stable
86
+ - name: Install Tarpaulin
87
+ uses: actions-rs/[email protected]
88
89
+ crate: cargo-tarpaulin
90
+ version: 0.14.2
91
+ use-tool-cache: true
92
+ - name: Checkout
93
+ uses: actions/checkout@v2
94
- name: Coverage
- if: matrix.rust == 'stable'
95
run: cargo tarpaulin -o Lcov --output-dir ./coverage
96
- name: Coveralls
97
uses: coverallsapp/github-action@master
98
with:
99
github-token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments