Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
update CI to run tests against unbound & hickory
Browse files Browse the repository at this point in the history
  • Loading branch information
japaric committed Feb 9, 2024
1 parent e52980a commit d17e42a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ jobs:
toolchain: stable
components: clippy, rustfmt

- name: Run tests
run: cargo test --workspace
- name: Run tests against unbound
run: cargo test --workspace --include-ignored

- name: Run tests against hickory
run: DNS_TEST_SUBJECT=hickory cargo test --workspace

- name: Check that code is formatted
run: cargo fmt --all -- --check
Expand Down
1 change: 1 addition & 0 deletions packages/conformance-tests/src/resolver/dns/scenarios.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ fn can_resolve() -> Result<()> {
Ok(())
}

#[ignore]
#[test]
fn nxdomain() -> Result<()> {
let needle_fqdn = FQDN("unicorn.nameservers.com.")?;
Expand Down
2 changes: 2 additions & 0 deletions packages/conformance-tests/src/resolver/dnssec/scenarios.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use dns_test::zone_file::Root;
use dns_test::{Resolver, Result, TrustAnchor, FQDN};

// no DS records are involved; this is a single-link chain of trust
#[ignore]
#[test]
fn can_validate_without_delegation() -> Result<()> {
let mut ns = NameServer::new(FQDN::ROOT)?;
Expand Down Expand Up @@ -46,6 +47,7 @@ fn can_validate_without_delegation() -> Result<()> {
Ok(())
}

#[ignore]
#[test]
fn can_validate_with_delegation() -> Result<()> {
let expected_ipv4_addr = Ipv4Addr::new(1, 2, 3, 4);
Expand Down

0 comments on commit d17e42a

Please sign in to comment.