made sure that CI is happy

testcontainers
Frank Elsinga 2 months ago
parent 18d80b254b
commit 4bbd9430f3

@ -5,6 +5,11 @@ const mqtt = require("mqtt");
const { MqttMonitorType } = require("../../server/monitor-types/mqtt"); const { MqttMonitorType } = require("../../server/monitor-types/mqtt");
const { UP, PENDING } = require("../../src/util"); 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");
return;
}
/** /**
* Runs an MQTT test with the * Runs an MQTT test with the
* @param {string} mqttSuccessMessage the message that the monitor expects * @param {string} mqttSuccessMessage the message that the monitor expects

Loading…
Cancel
Save