Skip to content

Commit d5bcd8a

Browse files
committed
Update CI workflow to include hrn_tests coverage
Update the GitHub Actions workflow to include coverage for the new hrn_tests feature across multiple build configurations. This ensures that the DNSSEC override logic is validated in both standard Rust and UniFFI-enabled environments. Including these flags in CI prevents regressions where testing-specific code might break the primary build or fail to compile due to type mismatches between the LDK and FFI wrappers. Testing both feature combinations (with and without UniFFI) guarantees that the abstraction for HumanReadableName remains consistent across all supported platforms and integration layers.
1 parent eb49496 commit d5bcd8a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/rust.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ jobs:
8585
if: "matrix.platform != 'windows-latest' && matrix.build-uniffi"
8686
run: |
8787
RUSTFLAGS="--cfg no_download" cargo test --features uniffi
88+
- name: Test with HRN overrides (No UniFFI) on Rust ${{ matrix.toolchain }}
89+
if: "matrix.platform == 'ubuntu-latest' && matrix.toolchain == 'stable'"
90+
run: |
91+
RUSTFLAGS="--cfg no_download" cargo test --features hrn_tests
92+
- name: Test with UniFFI and HRN overrides on Rust ${{ matrix.toolchain }}
93+
if: "matrix.platform != 'windows-latest' && matrix.build-uniffi"
94+
run: |
95+
RUSTFLAGS="--cfg no_download" cargo test --features uniffi,hrn_tests
8896
8997
doc:
9098
name: Documentation

0 commit comments

Comments
 (0)