blob: bbc835f446db1e7622fa1a346e172f16a4618666 [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: |
Akron70d52052024-11-18 11:58:31 +010026 cpanm --force -v 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/