Skip to content

Commit

Permalink
Run docstring tests on the fastest runner only
Browse files Browse the repository at this point in the history
  • Loading branch information
cknitt committed Dec 27, 2024
1 parent b54c30f commit c106e38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@ jobs:
ocaml_compiler: ocaml-variants.5.2.1+options,ocaml-option-static
upload_binaries: true
upload_libs: true
# Build the playground compiler and run the benchmarks on the fastest runner
# Run the slower tasks on the fastest runner only
build_playground: true
benchmarks: true
docstring_tests: true
- os: buildjet-2vcpu-ubuntu-2204-arm # ARM
ocaml_compiler: ocaml-variants.5.2.1+options,ocaml-option-static
upload_binaries: true
Expand Down Expand Up @@ -313,6 +314,7 @@ jobs:
run: node scripts/test.js -all

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

Expand Down

0 comments on commit c106e38

Please sign in to comment.