Skip to content

Commit 6a8212c

Browse files
committed
fixup! Gate set_test_offer and add HRN test config
1 parent bc98080 commit 6a8212c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ jobs:
7272
echo "BITCOIND_EXE=$( pwd )/bin/bitcoind-${{ runner.os }}-${{ runner.arch }}" >> "$GITHUB_ENV"
7373
echo "ELECTRS_EXE=$( pwd )/bin/electrs-${{ runner.os }}-${{ runner.arch }}" >> "$GITHUB_ENV"
7474
- name: Build on Rust ${{ matrix.toolchain }}
75-
run: cargo build --verbose --color always
75+
run: RUSTFLAGS="--cfg hrn_tests" cargo build --verbose --color always
7676
- name: Build with UniFFI support on Rust ${{ matrix.toolchain }}
7777
if: matrix.build-uniffi
78-
run: cargo build --features uniffi --verbose --color always
78+
run: RUSTFLAGS="--cfg hrn_tests" cargo build --features uniffi --verbose --color always
7979
- name: Check release build on Rust ${{ matrix.toolchain }}
80-
run: cargo check --release --verbose --color always
80+
run: RUSTFLAGS="--cfg hrn_tests" cargo check --release --verbose --color always
8181
- name: Check release build with UniFFI support on Rust ${{ matrix.toolchain }}
8282
if: matrix.build-uniffi
83-
run: cargo check --release --features uniffi --verbose --color always
83+
run: RUSTFLAGS="--cfg hrn_tests" cargo check --release --features uniffi --verbose --color always
8484
- name: Test on Rust ${{ matrix.toolchain }}
8585
if: "matrix.platform != 'windows-latest'"
8686
run: |

0 commit comments

Comments
 (0)