diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 636080e..c7ffa5d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,6 +21,5 @@ jobs: with: ocaml-compiler: ${{ matrix.ocaml-compiler }} - run: opam install . --deps-only --with-test - - run: opam install core_bench core_unix - run: opam exec -- dune build - run: opam exec -- dune runtest diff --git a/dune-project b/dune-project index 181061d..98e8562 100644 --- a/dune-project +++ b/dune-project @@ -23,7 +23,11 @@ (depends (ocaml (>= 4.12.0)) seq - (ppx_expect :with-test) + (core_bench :with-test) + (core_unix :with-test) + (memtrace :with-test) + (csv :with-test) + (ppx_expect (and (>= v0.17.0) :with-test)) (ounit2 :with-test)) (description " Pure OCaml regular expressions with: diff --git a/re.opam b/re.opam index fef0c01..1716d20 100644 --- a/re.opam +++ b/re.opam @@ -25,7 +25,11 @@ depends: [ "dune" {>= "3.12"} "ocaml" {>= "4.12.0"} "seq" - "ppx_expect" {with-test} + "core_bench" {with-test} + "core_unix" {with-test} + "memtrace" {with-test} + "csv" {with-test} + "ppx_expect" {>= "v0.17.0" & with-test} "ounit2" {with-test} "odoc" {with-doc} ]