CI: make test mroe deterministic, run tests with all depopts

This commit is contained in:
Simon Cruanes 2024-02-20 20:35:54 -05:00
parent a8f874e4ab
commit a6d6eec6c7
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 4 additions and 7 deletions

View file

@ -37,9 +37,8 @@ jobs:
- run: opam install -t moonpool --deps-only
if: matrix.ocaml-compiler != '5.1'
- run: opam exec -- dune build @install
- run: opam exec -- dune runtest
- run: opam install thread-local-storage trace
- run: opam exec -- dune build @install @runtest
- run: opam install trace thread-local-storage
- run: opam exec -- dune build @install
# install some depopts
- run: opam install thread-local-storage trace domain-local-await
- run: opam exec -- dune build @install @runtest

View file

@ -49,8 +49,6 @@ let main ~port ~runner ~ext ~dir ~n_conn () : unit Lwt.t =
~data:(fun () -> [ "d", `String file ])
in
(let@ () = M.Lock.with_ lock_stdout in
Printf.printf "explore %S\n%!" file);
Str_tbl.add seen file ();
let d = Sys.readdir file in
Array.sort String.compare d;