File tree 2 files changed +17
-3
lines changed
2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 81
81
sudo apt-get update
82
82
sudo apt-get install -y libclang-dev libopencv-dev ocl-icd-opencl-dev intel-opencl-icd
83
83
84
- - run : env
84
+ - name : Build libraries and sample
85
+ run : cargo build
86
+
87
+ - name : Run Docests
88
+ run : cargo test --doc
89
+
90
+ - name : Install cargo-llvm-cov
91
+ uses : taiki-e/install-action@cargo-llvm-cov
92
+ - name : Generate code coverage
93
+ run : cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
94
+ - name : Upload coverage to Codecov
95
+ uses : codecov/codecov-action@v4.0.1
96
+ with :
97
+ token : ${{ secrets.CODECOV_TOKEN }}
98
+ files : lcov.info
99
+ fail_ci_if_error : true
85
100
86
- - name : Run Tests
87
- run : cargo test
Original file line number Diff line number Diff line change 16
16
** /* .rs.bk
17
17
18
18
.idea /
19
+ /lcov.info
19
20
20
21
# End of https://www.toptal.com/developers/gitignore/api/rust,clion
You can’t perform that action at this time.
0 commit comments