Skip to content

Commit 4b73362

Browse files
committed
f fix workflow
1 parent a87d145 commit 4b73362

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ jobs:
103103
RUSTFLAGS="-C link-dead-code" cargo build --verbose --color always --features rpc-client,rest-client,tokio
104104
- name: Test on Rust ${{ matrix.toolchain }} with net-tokio
105105
if: "matrix.build-net-tokio && !matrix.coverage"
106-
run: cargo test --verbose --color always
106+
run: cargo test --verbose --color always --features=test_utils
107107
- name: Test on Rust ${{ matrix.toolchain }} with net-tokio and full code-linking for coverage generation
108108
if: matrix.coverage
109-
run: RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always
109+
run: RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always --features=test_utils
110110
- name: Test on no-std bullds Rust ${{ matrix.toolchain }}
111111
if: "matrix.build-no-std && !matrix.coverage"
112112
run: |
@@ -124,17 +124,17 @@ jobs:
124124
- name: Test on Rust ${{ matrix.toolchain }}
125125
if: "! matrix.build-net-tokio"
126126
run: |
127-
cargo test --verbose --color always -p lightning
128-
cargo test --verbose --color always -p lightning-invoice
129-
cargo build --verbose --color always -p lightning-persister
130-
cargo build --verbose --color always -p lightning-background-processor
127+
cargo test --verbose --color always -p lightning
128+
cargo test --verbose --color always --features=test_utils -p lightning-invoice
129+
cargo build --verbose --color always -p lightning-persister
130+
cargo build --verbose --color always -p lightning-background-processor
131131
- name: Test C Bindings Modifications on Rust ${{ matrix.toolchain }}
132132
if: "! matrix.build-net-tokio"
133133
run: |
134-
RUSTFLAGS="--cfg=c_bindings" cargo test --verbose --color always -p lightning
135-
RUSTFLAGS="--cfg=c_bindings" cargo test --verbose --color always -p lightning-invoice
136-
RUSTFLAGS="--cfg=c_bindings" cargo build --verbose --color always -p lightning-persister
137-
RUSTFLAGS="--cfg=c_bindings" cargo build --verbose --color always -p lightning-background-processor
134+
RUSTFLAGS="--cfg=c_bindings" cargo test --verbose --color always -p lightning
135+
RUSTFLAGS="--cfg=c_bindings" cargo test --verbose --color always --features=test_utils -p lightning-invoice
136+
RUSTFLAGS="--cfg=c_bindings" cargo build --verbose --color always -p lightning-persister
137+
RUSTFLAGS="--cfg=c_bindings" cargo build --verbose --color always -p lightning-background-processor
138138
- name: Test Block Sync Clients on Rust ${{ matrix.toolchain }} with features
139139
if: "matrix.build-net-tokio && !matrix.coverage"
140140
run: |

0 commit comments

Comments
 (0)