From c6bb15cfa1f4bcd64559445523d24b48d398f378 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Mon, 14 Feb 2022 15:43:50 +0900 Subject: [PATCH 1/3] Skip fork test on Win32 --- t/60-fork.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/60-fork.t b/t/60-fork.t index 76dcf44..161e512 100644 --- a/t/60-fork.t +++ b/t/60-fork.t @@ -7,6 +7,8 @@ use Test::More; use DodTestUtil; BEGIN { + plan skip_all => 'Not for Win32' if $^O eq 'MSWin32'; + my @requires = qw( Parallel::ForkManager Test::SharedFork From be9a4378fe91b54ddac740679475902145a28d8d Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Mon, 14 Feb 2022 15:44:17 +0900 Subject: [PATCH 2/3] Add sqlite-win test --- .github/workflows/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c0847e5..56f0851 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,18 @@ jobs: - name: Run tests run: prove -lr -j4 t + sqlite-win: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v1 + - name: perl -V + run: perl -V + - name: Install dependencies + run: curl -sL https://git.io/cpm | perl - install -g --with-recommends --with-test --with-configure --show-build-log-on-failure --feature=test_sqlite --feature=test_fork + - name: Run tests + run: prove -lr -j4 t + mysql: runs-on: ubuntu-latest From ef1264aaee3bd7f0dd459d230369fdcfebd9be7f Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Mon, 30 Jan 2023 02:21:44 +0900 Subject: [PATCH 3/3] No need to install deps for test_fork on win32 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 56f0851..52bdfe1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ jobs: - name: perl -V run: perl -V - name: Install dependencies - run: curl -sL https://git.io/cpm | perl - install -g --with-recommends --with-test --with-configure --show-build-log-on-failure --feature=test_sqlite --feature=test_fork + run: curl -sL https://git.io/cpm | perl - install -g --with-recommends --with-test --with-configure --show-build-log-on-failure --feature=test_sqlite - name: Run tests run: prove -lr -j4 t