diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b782395613..247438179c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -326,6 +326,12 @@ jobs: - name: Run tests run: node scripts/test.js -all + - name: Docstrins tests + if: runner.os == 'macOS' + env: + UV_THREADPOOL_SIZE: 8 + run: node tests/docstrings_examples/DocTest.res.mjs --ignore-runtime-tests "Array.toReversed, Array.toSorted, Promise.withResolvers, Set.union, Set.isSupersetOf, Set.isSubsetOf, Set.isDisjointFrom, Set.intersection, Set.symmetricDifference, Set.difference" + - name: Check for diffs in tests folder run: git diff --ignore-cr-at-eol --exit-code tests diff --git a/scripts/test.js b/scripts/test.js index 5abdcf5e4a..3b5c8ca39e 100644 --- a/scripts/test.js +++ b/scripts/test.js @@ -137,13 +137,13 @@ async function runTests() { stdio: [0, 1, 2], }); // Ignore some tests not supported by node v18 - cp.execSync( - `node ${path.join("tests", "docstrings_examples", "DocTest.res.mjs")} --ignore-runtime-tests "Array.toReversed, Array.toSorted, Promise.withResolvers, Set.union, Set.isSupersetOf, Set.isSubsetOf, Set.isDisjointFrom, Set.intersection, Set.symmetricDifference, Set.difference"`, - { - cwd: path.join(__dirname, ".."), - stdio: [0, 1, 2], - }, - ); + // cp.execSync( + // `node ${path.join("tests", "docstrings_examples", "DocTest.res.mjs")} --ignore-runtime-tests "Array.toReversed, Array.toSorted, Promise.withResolvers, Set.union, Set.isSupersetOf, Set.isSubsetOf, Set.isDisjointFrom, Set.intersection, Set.symmetricDifference, Set.difference"`, + // { + // cwd: path.join(__dirname, ".."), + // stdio: [0, 1, 2], + // }, + // ); } } }