diff --git a/doc-tests/Cargo.toml b/doc-tests/Cargo.toml index 5d5fa41..9389fb9 100644 --- a/doc-tests/Cargo.toml +++ b/doc-tests/Cargo.toml @@ -12,7 +12,7 @@ license.workspace = true workspace = true [dependencies] -ferrunix = { path = "../ferrunix", default-features = false, features = ["derive", "multithread"], version = "=0.3.0" } +ferrunix = { path = "../ferrunix", version = "=0.3.0" } [dev-dependencies] skeptic = { git = "https://github.com/Leandros/rust-skeptic.git", rev = "45d69d27c3ee1f0cf66072053bb6f88c1be0e07b" } diff --git a/xtask/src/ci.rs b/xtask/src/ci.rs index f032e36..433cdd8 100644 --- a/xtask/src/ci.rs +++ b/xtask/src/ci.rs @@ -85,7 +85,6 @@ pub(super) fn run(args: &CiArgs) -> Result<()> { ferrunix .chain(ferrunix_core) .chain(ferrunix_macros) - .chain(iter::once(("doc-tests", String::new()))) .filter(|(_, features)| { if filter.is_empty() { true @@ -125,6 +124,14 @@ pub(super) fn run(args: &CiArgs) -> Result<()> { } } + { + cmd!(sh, "cargo clean -p ferrunix -p ferrunix-core -p ferrunix-macros").run()?; + let res = cmd!(sh, "cargo {testrunner...} -p doc-tests").run(); + if let Err(err) = res { + errors.push(err); + } + } + if !args.no_extended && cmd!(sh, "cargo clippy --version").output().is_ok() { let res = cmd!(sh, "cargo clippy --tests --workspace").run();