Skip to content

Commit

Permalink
Disable heavy testing in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Besancon committed Jun 11, 2024
1 parent 0a78908 commit c8d1b4a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion massa-bootstrap/src/tests/tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,10 @@ pub fn parametric_test<F, T>(
F: Fn(&T, &mut SmallRng),
{
#[cfg(feature = "heavy_testing")]
let duration = duration * 120;
let duration = match std::env::var("NEXTEST_PROFILE") {
Ok(s) if s == String::from("ci") => duration,
_ => duration * 120,
};

for reg in regressions {
println!("[*] Regression {reg}");
Expand Down

0 comments on commit c8d1b4a

Please sign in to comment.