From 7a25d63d07be828ef8ce33c401c57554914a3d94 Mon Sep 17 00:00:00 2001 From: Romain Calascibetta Date: Fri, 3 Jun 2022 15:50:11 +0200 Subject: [PATCH 1/2] test_conv.ml requires /dev/urandom and work only on Unix system --- test/conv/dune | 1 + 1 file changed, 1 insertion(+) diff --git a/test/conv/dune b/test/conv/dune index 0d9e9ee..f8a0888 100644 --- a/test/conv/dune +++ b/test/conv/dune @@ -5,5 +5,6 @@ (rule (alias runtest) + (enabled_if (= ${os_type} "Unix")) (action (run ./test_conv.exe --color=always))) From 1f3ddfcfa6a3176ddf58d42964cefd949d890fe5 Mon Sep 17 00:00:00 2001 From: Romain Calascibetta Date: Fri, 3 Jun 2022 15:53:43 +0200 Subject: [PATCH 2/2] Allow the Windows CI on pull-request --- .github/workflows/test.yml | 2 +- test/conv/dune | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4922eff..f45523e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,10 +1,10 @@ name: Cross-platform tests on: + pull_request: push: branches: - 'master' - - 'feature-msvc' jobs: test-with-setup-ocaml: diff --git a/test/conv/dune b/test/conv/dune index f8a0888..f14e5c7 100644 --- a/test/conv/dune +++ b/test/conv/dune @@ -5,6 +5,7 @@ (rule (alias runtest) - (enabled_if (= ${os_type} "Unix")) + (enabled_if + (= ${os_type} "Unix")) (action (run ./test_conv.exe --color=always)))