update CI to run tests against unbound & hickory
This commit is contained in:
parent
e52980a82f
commit
d17e42a679
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -20,8 +20,11 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
components: clippy, rustfmt
|
components: clippy, rustfmt
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests against unbound
|
||||||
run: cargo test --workspace
|
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
|
- name: Check that code is formatted
|
||||||
run: cargo fmt --all -- --check
|
run: cargo fmt --all -- --check
|
||||||
|
@ -61,6 +61,7 @@ fn can_resolve() -> Result<()> {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[ignore]
|
||||||
#[test]
|
#[test]
|
||||||
fn nxdomain() -> Result<()> {
|
fn nxdomain() -> Result<()> {
|
||||||
let needle_fqdn = FQDN("unicorn.nameservers.com.")?;
|
let needle_fqdn = FQDN("unicorn.nameservers.com.")?;
|
||||||
|
@ -7,6 +7,7 @@ use dns_test::zone_file::Root;
|
|||||||
use dns_test::{Resolver, Result, TrustAnchor, FQDN};
|
use dns_test::{Resolver, Result, TrustAnchor, FQDN};
|
||||||
|
|
||||||
// no DS records are involved; this is a single-link chain of trust
|
// no DS records are involved; this is a single-link chain of trust
|
||||||
|
#[ignore]
|
||||||
#[test]
|
#[test]
|
||||||
fn can_validate_without_delegation() -> Result<()> {
|
fn can_validate_without_delegation() -> Result<()> {
|
||||||
let mut ns = NameServer::new(FQDN::ROOT)?;
|
let mut ns = NameServer::new(FQDN::ROOT)?;
|
||||||
@ -46,6 +47,7 @@ fn can_validate_without_delegation() -> Result<()> {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[ignore]
|
||||||
#[test]
|
#[test]
|
||||||
fn can_validate_with_delegation() -> Result<()> {
|
fn can_validate_with_delegation() -> Result<()> {
|
||||||
let expected_ipv4_addr = Ipv4Addr::new(1, 2, 3, 4);
|
let expected_ipv4_addr = Ipv4Addr::new(1, 2, 3, 4);
|
||||||
|
Loading…
Reference in New Issue
Block a user