From 862369f44a6d7a2cf3a068d0df561c4ca5e0a881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Vouillon?= Date: Fri, 18 Oct 2024 23:19:10 +0200 Subject: [PATCH] Opam package: add missing test dependencies --- .github/workflows/main.yml | 1 - dune-project | 6 +++++- re.opam | 6 +++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 636080e6..c7ffa5d8 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 181061dc..98e85628 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 fef0c01a..1716d20c 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} ]