mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -05:00
CI: make test mroe deterministic, run tests with all depopts
This commit is contained in:
parent
a8f874e4ab
commit
a6d6eec6c7
2 changed files with 4 additions and 7 deletions
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
|
@ -37,9 +37,8 @@ jobs:
|
||||||
- run: opam install -t moonpool --deps-only
|
- run: opam install -t moonpool --deps-only
|
||||||
if: matrix.ocaml-compiler != '5.1'
|
if: matrix.ocaml-compiler != '5.1'
|
||||||
- run: opam exec -- dune build @install
|
- run: opam exec -- dune build @install
|
||||||
- run: opam exec -- dune runtest
|
|
||||||
- run: opam install thread-local-storage trace
|
# install some depopts
|
||||||
- run: opam exec -- dune build @install @runtest
|
- run: opam install thread-local-storage trace domain-local-await
|
||||||
- run: opam install trace thread-local-storage
|
- run: opam exec -- dune build @install @runtest
|
||||||
- run: opam exec -- dune build @install
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -49,8 +49,6 @@ let main ~port ~runner ~ext ~dir ~n_conn () : unit Lwt.t =
|
||||||
~data:(fun () -> [ "d", `String file ])
|
~data:(fun () -> [ "d", `String file ])
|
||||||
in
|
in
|
||||||
|
|
||||||
(let@ () = M.Lock.with_ lock_stdout in
|
|
||||||
Printf.printf "explore %S\n%!" file);
|
|
||||||
Str_tbl.add seen file ();
|
Str_tbl.add seen file ();
|
||||||
let d = Sys.readdir file in
|
let d = Sys.readdir file in
|
||||||
Array.sort String.compare d;
|
Array.sort String.compare d;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue