From d8641c70b8c5a7b7ae41f4f98d9757e57288b515 Mon Sep 17 00:00:00 2001 From: Gabor Szabo Date: Sun, 25 Oct 2020 21:34:43 +0200 Subject: [PATCH 1/2] Add GitHub Actions config --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3bc04e6 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: [push] + +jobs: + perl-job: + runs-on: ubuntu-latest + container: + image: perldocker/perl-tester:${{ matrix.perl-version }} # https://hub.docker.com/r/perldocker/perl-tester + strategy: + fail-fast: false + matrix: + perl-version: + - '5.30' +# - '5.32' +# - 'latest' + name: Perl ${{ matrix.perl-version }} + steps: + - uses: actions/checkout@v2 + - name: Regular tests + run: | + perl Makefile.PL + make + make test + From c67f0031d373028a89f8d026c0dec0bb3f3e542e Mon Sep 17 00:00:00 2001 From: Gabor Szabo Date: Sun, 25 Oct 2020 21:38:30 +0200 Subject: [PATCH 2/2] installdeps --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3bc04e6..d904409 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,7 @@ jobs: - uses: actions/checkout@v2 - name: Regular tests run: | + cpanm --installdeps --notest . perl Makefile.PL make make test