From 674c06c6e8de3a0187f9fb6b5952d9843c101964 Mon Sep 17 00:00:00 2001 From: Dave Cross Date: Thu, 5 Nov 2020 17:02:11 +0000 Subject: [PATCH] Added Github workflow --- .github/workflows/perltest.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/perltest.yml diff --git a/.github/workflows/perltest.yml b/.github/workflows/perltest.yml new file mode 100644 index 0000000..58fd9d1 --- /dev/null +++ b/.github/workflows/perltest.yml @@ -0,0 +1,31 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] + perl: [ 'latest' ] + name: Perl ${{ matrix.perl }} on ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - name: Set up perl + uses: shogo82148/actions-setup-perl@v1 + with: + perl-version: ${{ matrix.perl }} + - run: perl -V + - run: cpanm --installdeps . + - run: prove -lv t