File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ - cki/github-workflow
78 pull_request :
89 branches :
910 - main
3132 - name : Install rustfmt for nightly
3233 run : rustup component add --toolchain nightly rustfmt
3334
35+ - name : Install llvm-tools-preview for stable
36+ run : rustup component add llvm-tools-preview --toolchain stable-x86_64-unknown-linux-gnu
37+
3438 - name : Install dependencies
3539 run : |
3640 sudo apt-get update
@@ -48,11 +52,14 @@ jobs:
4852 - name : Run cargo clippy
4953 run : cargo +nightly clippy -- -D warnings
5054
51- - name : Install cargo-tarpaulin
52- run : cargo install cargo-tarpaulin
55+ - name : Install llvm-cov
56+ uses : taiki-e/install-action@cargo-llvm-cov
57+
58+ - name : Install nextest
59+ uses : taiki-e/install-action@nextest
5360
54- - name : Run cargo tarpaulin
55- run : cargo +nightly tarpaulin --rustflags="-C opt-level=0" --no-fail-fast --out xml
61+ - name : Run Tests
62+ run : cargo llvm-cov --cobertura --output-path cobertura. xml nextest
5663
5764 - name : Generate Code Coverage Summary
5865 uses : irongut/CodeCoverageSummary@v1.3.0
You can’t perform that action at this time.
0 commit comments