]> Dogcows Code - chaz/p5-File-KDBX-XS/blobdiff - .github/workflows/linux.yml
add unit test actions
[chaz/p5-File-KDBX-XS] / .github / workflows / linux.yml
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
new file mode 100644 (file)
index 0000000..08eeed3
--- /dev/null
@@ -0,0 +1,38 @@
+name: linux
+
+on:
+  push:
+    branches: ["*"]
+  pull_request:
+    branches: ["*"]
+
+jobs:
+  unit-tests:
+    name: "Test perl v${{ matrix.perl }} on Linux"
+
+    runs-on: ubuntu-latest
+    container:
+      image: perldocker/perl-tester:${{ matrix.perl }}
+
+    strategy:
+      fail-fast: false
+      matrix:
+        perl:
+          - "5.34"
+          - "5.32"
+          - "5.30"
+          - "5.28"
+          - "5.26"
+          - "5.24"
+          - "5.22"
+          - "5.20"
+
+    steps:
+      - name: Checkout code
+        uses: actions/checkout@v3
+      - name: Install author dependencies
+        run: dzil authordeps --missing |cpanm -n
+      - name: Install module dependencies
+        run: dzil listdeps --develop --missing |cpanm -n
+      - name: Run tests
+        run: dzil smoke --author --release
This page took 0.023059 seconds and 4 git commands to generate.