-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
temporary disable proxy tests on github actions mac
- Loading branch information
1 parent
83a74eb
commit eafcc69
Showing
3 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/test/java/net/snowflake/client/RunningNotOnGithubActionsMac.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright (c) 2012-2019 Snowflake Computing Inc. All right reserved. | ||
*/ | ||
package net.snowflake.client; | ||
|
||
import net.snowflake.client.core.Constants; | ||
|
||
public class RunningNotOnGithubActionsMac implements ConditionalIgnoreRule.IgnoreCondition { | ||
public boolean isSatisfied() { | ||
return TestUtil.systemGetEnv("GITHUB_ACTIONS") != null && Constants.getOS() == Constants.OS.MAC; | ||
} | ||
|
||
public static boolean isRunningOnGithubActionsMac() { | ||
return TestUtil.systemGetEnv("GITHUB_ACTIONS") != null && Constants.getOS() == Constants.OS.MAC; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters