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
|
||||
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
|
||||
|
|
|
@ -61,6 +61,7 @@ fn can_resolve() -> Result<()> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[ignore]
|
||||
#[test]
|
||||
fn nxdomain() -> Result<()> {
|
||||
let needle_fqdn = FQDN("unicorn.nameservers.com.")?;
|
||||
|
|
|
@ -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)?;
|
||||
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user