We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc9a292 commit 39f4c09Copy full SHA for 39f4c09
tests/integration/tools/mongodb/mongodbHelpers.ts
@@ -114,13 +114,10 @@ function isTestContainersCluster(
114
function isMongoDBEnvSupported(
115
downloadOptions: MongoClusterOptions["downloadOptions"] | MongoSearchConfiguration
116
): boolean {
117
- if (isSearchOptions(downloadOptions)) {
118
- try {
119
- execSync("docker --version");
120
- return true;
121
- } catch {
122
- return false;
123
- }
+ // on GHA, OSX does not support nested virtualisation and we don't release
+ // windows containers, so for now we can only run these tests in Linux.
+ if (isSearchOptions(downloadOptions) && process.env.GITHUB_ACTIONS === "true") {
+ return process.platform === "linux";
124
}
125
126
return true;
0 commit comments