Skip to content

Commit 8d01abc

Browse files
committed
Fixes to github workflow script
1 parent 7fe0596 commit 8d01abc

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,32 @@ jobs:
2828
run: |
2929
perl -v
3030
31+
- name: Upgrade Perl toolchain
32+
run: |
33+
cpanm --notest --update App::cpanminus
34+
cpanm --notest ExtUtils::MakeMaker
35+
3136
- name: Install Modules
37+
env:
38+
AUTOMATED_TESTING: 1
3239
run: |
3340
cpanm -v
3441
cpanm --installdeps .
3542
cpanm Test::CheckManifest
3643
37-
- name: Run tests
44+
- name: Run tests under gmake (on windows)
3845
# RELEASE_TESTING is not enabled as some of the tests take way too long (more than 30 minutes)
46+
if: ${{ startsWith(matrix.runner, 'windows-') }}
47+
run: |
48+
perl Makefile.PL
49+
gmake
50+
gmake test
51+
52+
- name: Run tests under make (not windows)
53+
# RELEASE_TESTING is not enabled as some of the tests take way too long (more than 30 minutes)
54+
if: ${{ ! startsWith(matrix.runner, 'windows-') }}
3955
run: |
4056
perl Makefile.PL
4157
make
4258
make test
4359
44-
- name: Run release tests
45-
env:
46-
RELEASE_TESTING: 1
47-
run: |
48-
prove t/manifest.t

0 commit comments

Comments
 (0)