From 8afc2be1e77b9e5e92c5dafe290ee15ca3a7601b Mon Sep 17 00:00:00 2001 From: Hugo Heuzard Date: Thu, 16 Jan 2025 17:15:14 +0100 Subject: [PATCH] CI: more windows tests --- .github/workflows/build-wasm_of_ocaml.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-wasm_of_ocaml.yml b/.github/workflows/build-wasm_of_ocaml.yml index 3bca5f44c4..d2fd32ee4c 100644 --- a/.github/workflows/build-wasm_of_ocaml.yml +++ b/.github/workflows/build-wasm_of_ocaml.yml @@ -37,7 +37,7 @@ jobs: ocaml-compiler: "5.2" separate_compilation: true jane_street_tests: true - all_jane_street_tests: false + all_jane_street_tests: true - os: ubuntu-latest ocaml-compiler: "5.2" separate_compilation: true @@ -136,57 +136,66 @@ jobs: run: opam exec -- dune build @runtest-wasm --profile with-effects - name: Run Base tests - if: ${{ matrix.all_jane_street_tests || matrix.os == 'windows-latest' }} + if: matrix.all_jane_street_tests working-directory: ./janestreet/lib/base run: opam exec -- dune runtest - name: Run Base bigstring tests if: matrix.all_jane_street_tests + continue-on-error: ${{ matrix.os == 'windows-latest' }} working-directory: ./janestreet/lib/base_bigstring run: opam exec -- dune runtest - name: Run Core tests if: matrix.all_jane_street_tests + continue-on-error: ${{ matrix.os == 'windows-latest' }} working-directory: ./janestreet/lib/core run: opam exec -- dune runtest - name: Run Bignum tests - if: ${{ matrix.all_jane_street_tests || matrix.os == 'windows-latest' }} + if: matrix.all_jane_street_tests working-directory: ./janestreet/lib/bignum run: opam exec -- dune runtest - name: Run Bin_prot tests if: matrix.all_jane_street_tests + continue-on-error: ${{ matrix.os == 'windows-latest' }} working-directory: ./janestreet/lib/bin_prot run: opam exec -- dune runtest - name: Run String_dict tests if: matrix.all_jane_street_tests + continue-on-error: ${{ matrix.os == 'windows-latest' }} working-directory: ./janestreet/lib/string_dict run: opam exec -- dune runtest - name: Run Zarith tests if: matrix.all_jane_street_tests + continue-on-error: ${{ matrix.os == 'windows-latest' }} working-directory: ./janestreet/lib/zarith_stubs_js run: opam exec -- dune runtest - name: Run Virtual_dom tests if: matrix.all_jane_street_tests + continue-on-error: ${{ matrix.os == 'windows-latest' }} working-directory: ./janestreet/lib/virtual_dom run: opam exec -- dune runtest - name: Run Bonsai tests if: matrix.all_jane_street_tests + continue-on-error: ${{ matrix.os == 'windows-latest' }} working-directory: ./janestreet/lib/bonsai_test run: opam exec -- dune runtest - name: Run Bonsai web tests if: matrix.all_jane_street_tests + continue-on-error: ${{ matrix.os == 'windows-latest' }} working-directory: ./janestreet/lib/bonsai_web_test run: opam exec -- dune runtest - name: Run Bonsai web components' tests if: matrix.all_jane_street_tests + continue-on-error: ${{ matrix.os == 'windows-latest' }} working-directory: ./janestreet/lib/bonsai_web_components run: opam exec -- dune runtest