Commit c684c77 1 parent a77b843 commit c684c77 Copy full SHA for c684c77
File tree 1 file changed +5
-13
lines changed
1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -92,33 +92,25 @@ jobs:
92
92
uses : actions-rs/cargo@v1
93
93
with :
94
94
command : clean
95
- - name : install nightly toolchain
96
- uses : actions-rs/toolchain@v1
97
- with :
98
- profile : minimal
99
- toolchain : nightly
100
- override : true
95
+
101
96
- name : test KVM driver
102
97
uses : actions-rs/cargo@v1
103
98
with :
104
99
command : test
105
- # The target arg is a workaround in order to prevent build.rs files from being compiled with RUSTFLAGS
106
- # -Cpanic=abort can lead to issues with bindgen during compile time
107
100
# --lib only unit tests in the library, avoid integration tests
108
- args : --lib --features kvm --no-fail-fast --target x86_64-unknown-linux-gnu
109
- env :
110
- CARGO_INCREMENTAL : ' 0'
111
- RUSTFLAGS : ' -Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
112
- RUSTDOCFLAGS : ' -Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
101
+ args : --lib --features kvm
102
+
113
103
- name : install grcov
114
104
uses :
actions-rs/[email protected]
115
105
with :
116
106
crate : grcov
117
107
version : latest
118
108
use-tool-cache : true
109
+
119
110
- name : generate coverage report
120
111
id : coverage
121
112
uses :
actions-rs/[email protected]
113
+
122
114
- name : upload coverage report to codecov.io
123
115
uses : codecov/codecov-action@v1
124
116
with :
You can’t perform that action at this time.
0 commit comments