Add GitHub action for CI
Change-Id: I855ae2c78e0346393270bdce54c637f741dd138b
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
new file mode 100644
index 0000000..25778fd
--- /dev/null
+++ b/.github/workflows/linux.yml
@@ -0,0 +1,30 @@
+name: CI Linux
+on:
+ push:
+ branches:
+ - '*'
+ tags-ignore:
+ - '*'
+ pull_request:
+jobs:
+ perl:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ perl-version:
+ - '5.20'
+ - '5.22'
+ - '5.30'
+ - '5.32'
+ name: Perl ${{ matrix.perl-version }} on Linux
+ container:
+ image: perl:${{ matrix.perl-version }}
+ steps:
+ - uses: actions/checkout@v2
+ - name: perl -V
+ run: perl -V
+ - name: Install dependencies
+ run: |
+ cpanm --installdeps .
+ - name: Run tests
+ run: prove -lr t/
diff --git a/.gitignore b/.gitignore
index 4d0f9c2..417d50c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,6 +28,7 @@
*.tmp
*.cache
.*
+!.github
!.gitignore
# Protected checks
diff --git a/Changes b/Changes
index c95b9f0..0484e2f 100644
--- a/Changes
+++ b/Changes
@@ -1,8 +1,9 @@
-0.42 2021-02-16
+0.42 2021-03-16
- Replaced Log4perl with Log::Any.
- Ignore level < 0 structures in DeReKo, but support
them for base annotations.
- Define resources in Makefile.
+ - Add GitHub action for CI.
0.41 2020-08-10
- Added support for RWK annotations.