Skip to content

Commit bc98080

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
- name: Test with UniFFI support on Rust ${{ matrix.toolchain }}
8989
if: "matrix.platform != 'windows-latest' && matrix.build-uniffi"
9090
run: |
91-
RUSTFLAGS="--cfg no_download --cfg cycle_tests" cargo test --features uniffi
91+
RUSTFLAGS="--cfg no_download --cfg cycle_tests --cfg hrn_tests" cargo test --features uniffi
9292
9393
linting:
9494
name: Linting
@@ -102,8 +102,8 @@ jobs:
102102
rustup component add clippy
103103
- name: Ban `unwrap` in library code
104104
run: |
105-
cargo clippy --lib --verbose --color always -- -A warnings -D clippy::unwrap_used -A clippy::tabs_in_doc_comments
106-
cargo clippy --lib --features uniffi --verbose --color always -- -A warnings -D clippy::unwrap_used -A clippy::tabs_in_doc_comments
105+
RUSTFLAGS="--cfg hrn_tests" cargo clippy --lib --verbose --color always -- -A warnings -D clippy::unwrap_used -A clippy::tabs_in_doc_comments
106+
RUSTFLAGS="--cfg hrn_tests" cargo clippy --lib --features uniffi --verbose --color always -- -A warnings -D clippy::unwrap_used -A clippy::tabs_in_doc_comments
107107
108108
doc:
109109
name: Documentation

0 commit comments

Comments
 (0)