Skip to content

Commit 1cdf4ae

Browse files
Disable tests relying on absolute paths in GitHub CI
1 parent f1913a0 commit 1cdf4ae

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/bin/deprun.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,11 @@ mod tests {
825825
#[cfg(windows)]
826826
#[test]
827827
fn test_deprun_vcxproj() {
828+
if std::env::var("CI").is_ok() {
829+
eprintln!("Skipping test in CI environment");
830+
return;
831+
}
832+
828833
ensure_binary_built();
829834
let manifest_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
830835
let vcxproj_path = manifest_dir
@@ -856,6 +861,11 @@ mod tests {
856861
#[cfg(windows)]
857862
#[test]
858863
fn test_deprun_vcxproj_user() {
864+
if std::env::var("CI").is_ok() {
865+
eprintln!("Skipping test in CI environment");
866+
return;
867+
}
868+
859869
ensure_binary_built();
860870
let manifest_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
861871
let exe_path = manifest_dir

0 commit comments

Comments
 (0)