Skip to content

Commit f1bf18f

Browse files
authored
Update other-perls.yml
1 parent dc4f4f4 commit f1bf18f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/other-perls.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ jobs:
2626
- name: Install Required Perl Modules
2727
run: |
2828
cpanm --verbose --notest Module::Build Inline::C Alien::OpenMP \
29-
Util::H2O::More File::Temp Test::Exception Test::Deep \
29+
Util::H2O::More File::Temp Test::Exception \
3030
OpenMP::Environment File::ShareDir
31+
32+
# Conditionally install Test::Deep if Perl version >= 5.12
33+
perl -e 'exit 1 if $] < 5.012' && cpanm --verbose --notest Test::Deep || echo "Skipping Test::Deep for Perl < 5.12"
3134
3235
- name: Run Tests
3336
run: ./test-runner.sh

0 commit comments

Comments
 (0)