Skip to content

Commit c106e38

Browse files
committed
Run docstring tests on the fastest runner only
1 parent b54c30f commit c106e38

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,10 @@ jobs:
9090
ocaml_compiler: ocaml-variants.5.2.1+options,ocaml-option-static
9191
upload_binaries: true
9292
upload_libs: true
93-
# Build the playground compiler and run the benchmarks on the fastest runner
93+
# Run the slower tasks on the fastest runner only
9494
build_playground: true
9595
benchmarks: true
96+
docstring_tests: true
9697
- os: buildjet-2vcpu-ubuntu-2204-arm # ARM
9798
ocaml_compiler: ocaml-variants.5.2.1+options,ocaml-option-static
9899
upload_binaries: true
@@ -313,6 +314,7 @@ jobs:
313314
run: node scripts/test.js -all
314315

315316
- name: Docstrings tests
317+
if: matrix.docstring_tests
316318
# Ignore functions that are not available on Node 18
317319
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"
318320

0 commit comments

Comments
 (0)