File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Perl CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ test :
7+ runs-on : ubuntu-latest
8+ # Test across multiple OSes and Perl versions
9+ strategy :
10+ fail-fast : false # Allows other jobs to run even if one fails
11+ matrix :
12+ perl-version : ['5.36', '5.38', 'latest'] # Specify versions
13+
14+ name : Perl ${{ matrix.perl-version }} ubuntu-latest
15+
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v4
19+
20+ - name : Set up Perl
21+ # Uses a community action to install the specified Perl version
22+ uses : shogo82148/actions-setup-perl@v1
23+ with :
24+ perl-version : ${{ matrix.perl-version }}
25+
26+ - name : Check syntax
27+ run : for f in `find . -name "*.pm" -o -name "pg_format" -o -name "*.pl" -o -name "*.t"`; do perl -c $f; done
28+
29+ - name : Run tests with prove
30+ run : prove -lv t/
You can’t perform that action at this time.
0 commit comments