blob: eef995aa791d48b1acfc0e88c06ee51dbb033c09 [file] [log] [blame]
Akronb1ecf932021-03-02 17:36:49 +01001name: CI Perl Linux
2on:
3 push:
4 branches:
5 - '*'
6 tags-ignore:
7 - '*'
8 pull_request:
9jobs:
10 perl:
11 runs-on: ubuntu-latest
12 strategy:
13 matrix:
14 perl-version:
Akron35d07a22024-01-25 12:24:02 +010015 - '5.36'
16 - '5.38'
Akronb1ecf932021-03-02 17:36:49 +010017 name: Perl ${{ matrix.perl-version }} on Linux
18 container:
19 image: perl:${{ matrix.perl-version }}
20 steps:
Akron35d07a22024-01-25 12:24:02 +010021 - uses: actions/checkout@v4
Akronb1ecf932021-03-02 17:36:49 +010022 - name: perl -V
23 run: perl -V
24 - name: Install dependencies
25 run: |
Akron724a96f2024-11-18 10:54:41 +010026 cpanm --force Module::Pluggable
Marc Kupietza19734d2022-03-28 15:25:52 +020027 cpanm https://github.com/Akron/Mojolicious-Plugin-Localize.git
Akronf6296f32021-03-16 16:09:17 +010028 cpanm --installdeps .
Akronb1ecf932021-03-02 17:36:49 +010029 cpanm -n Cpanel::JSON::XS EV
30 - name: Run tests
31 run: prove -lr t/