diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..0553050 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,25 @@ +name: test +on: + push: + branches: + - "**" + pull_request: {} +jobs: + test: + name: Run Test with Perl ${{ matrix.perl }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + perl: + - '5.36' + - '5.38' + steps: + - uses: actions/checkout@v2 + - name: Setup perl + uses: shogo82148/actions-setup-perl@v1 + with: + perl-version: ${{ matrix.perl }} + - run: | + cpanm --quiet --installdeps --notest --with-recommends . + perl Build.PL && ./Build build && ./Build test