excluded arm from testcontainer runs

This commit is contained in:
Frank Elsinga 2024-10-04 03:10:09 +02:00
parent e80a6ef728
commit e97fd40b54
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ const mqtt = require("mqtt");
const { MqttMonitorType } = require("../../server/monitor-types/mqtt");
const { UP, PENDING } = require("../../src/util");
if (!!process.env.CI && process.platform !== "linux") {
console.log("testcontainers are not available in the github CI on non-linux platforms. Skipping");
if (!!process.env.CI && process.platform !== "linux" && process.arch !== "x64") {
console.log("testcontainers are not available in the github CI on non-linux or non-x64 platforms. Skipping");
return;
}