mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 08:44:04 +00:00
made sure that CI is happy
This commit is contained in:
parent
18d80b254b
commit
4bbd9430f3
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,11 @@ 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");
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Runs an MQTT test with the
|
||||
* @param {string} mqttSuccessMessage the message that the monitor expects
|
||||
|
|
Loading…
Reference in a new issue