Skip to content

Commit 45f5906

Browse files
committed
experiment: use nextest + llvm-cov for coverage
1 parent 6059cae commit 45f5906

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,12 @@ jobs:
7070
- uses: actions-rs/toolchain@v1
7171
with:
7272
override: true
73-
- name: Install cargo-binstall
74-
uses: cargo-bins/[email protected]
75-
- name: Install cargo-tarpaulin
76-
uses: actions-rs/cargo@v1
77-
with:
78-
command: binstall
79-
args: cargo-tarpaulin --no-confirm
73+
components: llvm-tools-preview
74+
- uses: taiki-e/install-action@cargo-llvm-cov
75+
- uses: taiki-e/install-action@nextest
8076
- name: Generate code coverage
8177
run: |
82-
cargo tarpaulin --avoid-cfg-tarpaulin --timeout=360 --out lcov --exclude-files 'bindings/**/*.*' --exclude-files 'ergo-rest/src/reqwest.rs' --exclude-files 'ergo-rest/src/reqwest/**/*.*' --exclude-files 'ergo-rest/src/wasm_timer.rs' --exclude-files 'ergo-rest/src/wasm_timer/**/*.*'
78+
cargo llvm-cov --lcov --output-path lcov.info --ignore-filename-regex "bindings/.*|ergo-rest/src/reqwest.*|ergo-rest/src/wasm_timer.*" nextest
8379
- name: Push code coverage results to coveralls.io
8480
uses: coverallsapp/github-action@master
8581
with:

0 commit comments

Comments
 (0)