File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 86
86
uses : Swatinem/rust-cache@v2
87
87
- name : Run cargo test --features fips
88
88
run : cargo test --tests --features fips -- --test-threads=1
89
+
90
+ coverage :
91
+ name : Coverage
92
+ runs-on : ubuntu-latest
93
+ steps :
94
+ - name : Check out repository
95
+ uses : actions/checkout@v4
96
+ - name : Install toolchain
97
+ uses : dtolnay/rust-toolchain@v1
98
+ with :
99
+ toolchain : stable
100
+ components : llvm-tools
101
+ - name : Cache build artifacts
102
+ uses : Swatinem/rust-cache@v2
103
+ - name : Install cargo-llvm-cov
104
+ uses : taiki-e/install-action@cargo-llvm-cov
105
+ - name : Generate coverage
106
+ run : cargo llvm-cov --lcov --output-path lcov.info
107
+ - name : Report to codecov.io
108
+ uses : codecov/codecov-action@v5
109
+ with :
110
+ files : lcov.info
111
+ token : ${{ secrets.CODECOV_TOKEN }}
112
+ fail_ci_if_error : false
You can’t perform that action at this time.
0 commit comments