Skip to content

Commit

Permalink
run tests with perlbrew exec
Browse files Browse the repository at this point in the history
  • Loading branch information
bodo-hugo-barwich authored Sep 12, 2024
1 parent 0d4f886 commit 5032d24
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/perl_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
echo "* perlbrew - Exec with Perl Version '${{ steps.perl_full_version.outputs.version }}' ..."
perlbrew exec -q --with perl-${{ steps.perl_full_version.outputs.version }} perl -MConfig -e 'print "perl ($] / $^V) path: $Config{perlpath}\n"'
echo "* perlbrew - Active Perl Version:"
perlbrew switch perl-${{ steps.perl_full_version.outputs.version }}
perl -v && perl -MConfig -e 'print "perl ($] / $^V) path: $Config{perlpath}\n"'
- name: Run the Test Suite
Expand All @@ -85,6 +86,7 @@ jobs:
echo "* Testing - Active Perl Version:"
perl -v && perl -MConfig -e 'print "perl ($] / $^V) path: $Config{perlpath}\n"'
echo "Build and Test the Module"
perl Makefile.PL
make
perlbrew exec -q --with perl-${{ steps.perl_full_version.outputs.version }} \
perl Makefile.PL && \
make && \
make test TEST_VERBOSE=1

0 comments on commit 5032d24

Please # to comment.