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: |
| 15 | - '5.20' |
| 16 | - '5.22' |
| 17 | - '5.30' |
| 18 | - '5.32' |
| 19 | name: Perl ${{ matrix.perl-version }} on Linux |
| 20 | container: |
| 21 | image: perl:${{ matrix.perl-version }} |
| 22 | steps: |
| 23 | - uses: actions/checkout@v2 |
| 24 | - name: perl -V |
| 25 | run: perl -V |
| 26 | - name: Install dependencies |
| 27 | run: | |
| 28 | cpanm git://github.com/Akron/Mojolicious-Plugin-Localize.git |
Akron | f6296f3 | 2021-03-16 16:09:17 +0100 | [diff] [blame] | 29 | cpanm --installdeps . |
Akron | b1ecf93 | 2021-03-02 17:36:49 +0100 | [diff] [blame] | 30 | cpanm -n Cpanel::JSON::XS EV |
| 31 | - name: Run tests |
| 32 | run: prove -lr t/ |