Akron | b1ecf93 | 2021-03-02 17:36:49 +0100 | [diff] [blame] | 1 | name: CI Perl Linux |
| 2 | on: |
| 3 | push: |
| 4 | branches: |
| 5 | - '*' |
| 6 | tags-ignore: |
| 7 | - '*' |
| 8 | pull_request: |
| 9 | jobs: |
| 10 | perl: |
| 11 | runs-on: ubuntu-latest |
| 12 | strategy: |
| 13 | matrix: |
| 14 | perl-version: |
Akron | 35d07a2 | 2024-01-25 12:24:02 +0100 | [diff] [blame] | 15 | - '5.36' |
| 16 | - '5.38' |
Akron | b1ecf93 | 2021-03-02 17:36:49 +0100 | [diff] [blame] | 17 | name: Perl ${{ matrix.perl-version }} on Linux |
| 18 | container: |
| 19 | image: perl:${{ matrix.perl-version }} |
| 20 | steps: |
Akron | 35d07a2 | 2024-01-25 12:24:02 +0100 | [diff] [blame] | 21 | - uses: actions/checkout@v4 |
Akron | b1ecf93 | 2021-03-02 17:36:49 +0100 | [diff] [blame] | 22 | - name: perl -V |
| 23 | run: perl -V |
| 24 | - name: Install dependencies |
| 25 | run: | |
Marc Kupietz | a19734d | 2022-03-28 15:25:52 +0200 | [diff] [blame] | 26 | cpanm https://github.com/Akron/Mojolicious-Plugin-Localize.git |
Akron | f6296f3 | 2021-03-16 16:09:17 +0100 | [diff] [blame] | 27 | cpanm --installdeps . |
Akron | b1ecf93 | 2021-03-02 17:36:49 +0100 | [diff] [blame] | 28 | cpanm -n Cpanel::JSON::XS EV |
| 29 | - name: Run tests |
| 30 | run: prove -lr t/ |