Skip to content

Commit c027ef0

Browse files
authored
Merge pull request #215 from rust-ndarray/coverage-tarpaulin
Add coverage check
2 parents 42779dc + c42afc4 commit c027ef0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/rust.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,16 @@ 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+
cargo tarpaulin --verbose --features=intel-mkl --out Xml --manifest-path=ndarray-linalg/Cargo.toml
37+
- name: Upload to codecov.io
38+
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)