Add test GH action #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |