From 94af42804daf564fb4afdacfd7c27018d6a09b41 Mon Sep 17 00:00:00 2001 From: Mirko Westermeier Date: Wed, 6 Sep 2023 16:08:00 +0200 Subject: [PATCH] Add test GH action --- .github/workflows/test.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..67fe5b2 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: Test + +on: [push, workflow_dispatch] + +jobs: + + test: + runs-on: ubuntu-latest + container: + image: perl:5.38 + steps: + + - name: Prepare external tools + run: | + sudo apt update + sudo apt install -y poppler-utils + + - name: Checkout repository content + uses: actions/checkout@v4 + + - name: Install dependencies + run: cpanm -nq --installdeps . + + - name: Run tests + run: prove -lv