File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,23 @@ jobs:
34
34
override : true
35
35
profile : minimal
36
36
- name : Build on Rust ${{ matrix.toolchain }} with net-tokio
37
- if : matrix.build-net-tokio
37
+ if : " matrix.build-net-tokio && !matrix.coverage"
38
+ run : cargo build --verbose --color always
39
+ - name : Build on Rust ${{ matrix.toolchain }} with net-tokio and full code-linking for coverage generation
40
+ if : matrix.coverage
38
41
run : RUSTFLAGS="-C link-dead-code" cargo build --verbose --color always
39
42
- name : Build on Rust ${{ matrix.toolchain }}
40
43
if : " ! matrix.build-net-tokio"
41
- run : RUSTFLAGS="-C link-dead-code" cargo build --verbose --color always -p lightning
44
+ run : cargo build --verbose --color always -p lightning
42
45
- name : Test on Rust ${{ matrix.toolchain }} with net-tokio
43
- if : matrix.build-net-tokio
46
+ if : " matrix.build-net-tokio && !matrix.coverage"
47
+ run : cargo test --verbose --color always
48
+ - name : Test on Rust ${{ matrix.toolchain }} with net-tokio and full code-linking for coverage generation
49
+ if : matrix.coverage
44
50
run : RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always
45
51
- name : Test on Rust ${{ matrix.toolchain }}
46
52
if : " ! matrix.build-net-tokio"
47
- run : RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always -p lightning
53
+ run : cargo test --verbose --color always -p lightning
48
54
- name : Install deps for kcov
49
55
if : matrix.coverage
50
56
run : |
You can’t perform that action at this time.
0 commit comments