Skip to content

Commit

Permalink
fix: docker sock for macos runner
Browse files Browse the repository at this point in the history
  • Loading branch information
juanky201271 committed Nov 18, 2024
1 parent 0b0c28e commit 4993f19
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rust/android/tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ use zingolib::testutils::scenarios;
// ubuntu ci runner
#[cfg(feature = "ci")]
const UNIX_SOCKET: Option<&str> = Some("/var/run/docker.sock");

// macos ci runner
//const UNIX_SOCKET: Option<&str> = Some("`/Users/runner/.colima/default/docker.sock`");
#[cfg(target_os = "macos")]
const UNIX_SOCKET: Option<&str> = Some("`/Users/runner/.colima/default/docker.sock`");

#[cfg(all(not(feature = "ci"), feature = "regchest"))]
#[cfg(all(not(feature = "ci"), feature = "regchest", not(target_os = "macos")))]
const UNIX_SOCKET: Option<&str> = None;

async fn offline_testsuite(abi: &str) {
Expand Down

0 comments on commit 4993f19

Please sign in to comment.