Skip to content

Commit

Permalink
fix: fail if any tests failed
Browse files Browse the repository at this point in the history
  • Loading branch information
dnbln committed Feb 8, 2025
1 parent 3f718b2 commit 0e3cfe9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev/nexus/src/cargo_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,10 @@ pub mod tests {
}
}

if summary.failed != 0 {
bail!("tests failed");
}

Ok(())
}
}
Expand Down

0 comments on commit 0e3cfe9

Please sign in to comment.