Skip to content

Commit

Permalink
test(plist): skip ByHost test on Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gibfahn committed Apr 20, 2024
1 parent f1ba666 commit 98de379
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tasks/defaults/plist_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,9 @@ mod tests {
}

// Per-host sandboxed preference (`current_host` is true and the sandboxed plist exists).
{
// Skipped in github actions because Safari hasn't been run yet, so the ByHost preferences
// file doesn't yet exist.
if std::env::var("GITHUB_ACTIONS").is_err() {
let domain_path = super::plist_path("com.apple.Safari", true).unwrap();
let hardware_uuid = mac::get_hardware_uuid().unwrap();
assert_eq!(
Expand Down

0 comments on commit 98de379

Please sign in to comment.