File tree 1 file changed +0
-26
lines changed
1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change 82
82
with :
83
83
command : clippy
84
84
args : -- -D warnings
85
-
86
- coverage :
87
- name : Coverage
88
- runs-on : ubuntu-latest
89
- steps :
90
- - uses : actions/checkout@v1
91
- - uses : actions-rs/toolchain@v1
92
- with :
93
- toolchain : nightly
94
- override : true
95
- components : llvm-tools-preview
96
- - uses : actions-rs/cargo@v1
97
- with :
98
- command : test
99
- args : --all-features --no-fail-fast
100
- env :
101
- RUSTFLAGS : " -Zinstrument-coverage"
102
- LLVM_PROFILE_FILE : " hawkbitrs-%p-%m.profraw"
103
- - name : Install grcov
104
- run : if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi
105
- - name : Run grcov
106
- run : grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "hawkbit/examples/*" --ignore "*target*" -o coverage.lcov
107
- - name : Upload coverage to Codecov
108
- uses : codecov/codecov-action@v1
109
- with :
110
- files : ./coverage.lcov
You can’t perform that action at this time.
0 commit comments