From 82c1b313bcfaa5d0e4e7126feda0e9b9b9746560 Mon Sep 17 00:00:00 2001 From: bitgaoshu Date: Sat, 25 Jun 2022 10:25:56 +0800 Subject: [PATCH] restore sth --- crates/test-utils/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/test-utils/src/lib.rs b/crates/test-utils/src/lib.rs index 405c4e26f2d..4438a12093a 100644 --- a/crates/test-utils/src/lib.rs +++ b/crates/test-utils/src/lib.rs @@ -389,7 +389,7 @@ fn main() { /// also creates a file at `./target/.slow_tests_cookie` which serves as a flag /// that slow tests did run. pub fn skip_slow_tests() -> bool { - let should_skip = std::env::var("RUN_SLOW_TESTS").is_err(); + let should_skip = std::env::var("CI").is_err() && std::env::var("RUN_SLOW_TESTS").is_err(); if should_skip { eprintln!("ignoring slow test"); } else {