Skip to content

Commit

Permalink
fix: doc tests for xtask docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Leandros committed Nov 5, 2024
1 parent 655cd49 commit 5c762fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xtask/src/docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ pub(super) fn run(_args: &DocsArgs) -> anyhow::Result<()> {
let sh = Shell::new()?;

// Run tests for ferrunix; these validate all code in the book.
cmd!(sh, "cargo test -p doc-tests").run()?;
{
cmd!(sh, "cargo clean -p ferrunix -p ferrunix-core -p ferrunix-macros").run()?;
cmd!(sh, "cargo test -p doc-tests").run()?;
}

// Build the docs.
let feature_matrix = ["default", "multithread", "tokio"];
Expand Down

0 comments on commit 5c762fe

Please sign in to comment.