summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-06-13 14:51:50 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-06-13 14:51:50 +0200
commit3438d97ba24a48ca1b107129dcf99456e9f4ca95 (patch)
tree58bbd8fc17131b9cc9061bb0189912722cc30ef7 /.github
parentc5e32e4576ee11b7aeff76be8102d6775840b988 (diff)
Enable tests on GitHub
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/perl.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/perl.yml b/.github/workflows/perl.yml
new file mode 100644
index 0000000..261b9e5
--- /dev/null
+++ b/.github/workflows/perl.yml
@@ -0,0 +1,33 @@
+name: linux
+
+on:
+ push:
+ branches:
+ - '*'
+ pull_request:
+ branches:
+ - '*'
+
+jobs:
+ perl:
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ perl-version:
+ - '5.20'
+ - 'latest'
+ - 'threaded'
+
+ container:
+ image: perl:${{ matrix.perl-version }}
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: perl -V
+ run: perl -V
+ - name: Install Dependencies
+ run: curl -sL https://git.io/cpm | perl - install -g --show-build-log-on-failure
+ - name: Run Tests
+ run: prove -l t