mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-16 08:26:56 +08:00
made sure that CI is happy
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user