Skip to content

Commit c4a30cc

Browse files
aspeddrocknitt
andauthored
ci: disable docstrings tests on macOS 13 (#7249)
* ci: disable docstrings tests on macOS 13 * Add comment --------- Co-authored-by: Christoph Knittel <christoph@knittel.cc>
1 parent 31fe30b commit c4a30cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/test.js

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
const cp = require("child_process");
33
const path = require("path");
44
const fs = require("fs");
5+
const os = require("os");
56
const { rescript_exe } = require("#cli/bin_path");
67

78
const duneBinDir = require("./dune").duneBinDir;
@@ -125,6 +126,9 @@ async function runTests() {
125126
if (runtimeDocstrings) {
126127
if (process.platform === "win32") {
127128
console.log(`Skipping docstrings tests on ${process.platform}`);
129+
} else if (process.platform === "darwin" && os.release().startsWith("22")) {
130+
// Workaround for intermittent hangs in CI
131+
console.log("Skipping docstrings tests on macOS 13")
128132
} else {
129133
console.log("Running runtime docstrings tests");
130134

0 commit comments

Comments
 (0)