Skip to content

Commit 6657891

Browse files
committed
Fix trailing spaces
1 parent 13a4c83 commit 6657891

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/perl_test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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/

0 commit comments

Comments
 (0)