Skip to content

Commit c4de856

Browse files
committed
Add coverage check
Use stable cd
1 parent 42779dc commit c4de856

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/rust.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,20 @@ jobs:
2323
- uses: actions-rs/cargo@v1
2424
with:
2525
command: clippy
26+
27+
coverage:
28+
runs-on: ubuntu-18.04
29+
container:
30+
image: rustmath/mkl-rust:1.43.0
31+
options: --security-opt seccomp=unconfined
32+
steps:
33+
- uses: actions/checkout@v2
34+
- name: Generate code coverage
35+
run: |
36+
cd ndarray-linalg
37+
cargo tarpaulin --verbose --features=intel-mkl --out Xml
38+
mv *.xml ..
39+
- name: Upload to codecov.io
40+
uses: codecov/codecov-action@v1
41+
with:
42+
fail_ci_if_error: true

0 commit comments

Comments
 (0)