mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 00:41:07 +08:00
Don't run worst case test on GitHub Actions (#3688)
* Don't run worst case test on GitHub Actions * Deprecate jest
This commit is contained in:
@@ -368,6 +368,12 @@ function memoryUsage() {
|
||||
}
|
||||
|
||||
test("Worst case", async (t) => {
|
||||
|
||||
// Disable on GitHub Actions, as it is not stable on it
|
||||
if (process.env.GITHUB_ACTIONS) {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log("Memory usage before preparation", memoryUsage());
|
||||
|
||||
let c = new UptimeCalculator();
|
||||
|
Reference in New Issue
Block a user