Skip to content

Commit 99614e5

Browse files
ci: install publicsuffix and run gated system-file PSL test
apt-get installs Debian's publicsuffix package (ships both .dat and .dafsa). Sets LIBWEBAUTHN_PSL_SYSTEM_TEST=1 on the test step so the SystemPublicSuffixList::auto() integration test runs against the real system file in CI.
1 parent 8c808c5 commit 99614e5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/rust.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Update apt cache
1515
run: sudo apt-get update
1616
- name: Install system dependencies
17-
run: sudo apt-get install libudev-dev libdbus-1-dev libsodium-dev libnfc-dev libpcsclite-dev
17+
run: sudo apt-get install libudev-dev libdbus-1-dev libsodium-dev libnfc-dev libpcsclite-dev publicsuffix
1818
- name: Clippy
1919
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
2020
- name: Check formatting
@@ -27,5 +27,7 @@ jobs:
2727
run: cargo build -p libwebauthn --examples --features nfc-backend-libnfc
2828
- name: Run tests
2929
run: cargo test --workspace --verbose
30+
env:
31+
LIBWEBAUTHN_PSL_SYSTEM_TEST: "1"
3032
- name: Verify libwebauthn publishes cleanly
3133
run: cargo publish --dry-run -p libwebauthn

0 commit comments

Comments
 (0)