Merge pull request #106 from nyarla/dependabot-github_actions-shogo82… #136
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: Tests for p5-Kalaclista | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/perl-test.yml" | |
- "cpanfile" | |
- "lib/**" | |
- "t/**" | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
# runner environment | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Install ubuntu dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y \ | |
libidn-dev | |
# perl environment | |
- uses: shogo82148/actions-setup-perl@98dfedee230bcf1ee68d5b021931fc8d63f2016e # v1.31.4 | |
with: | |
perl-version: '5.38' | |
install-modules-with: cpm | |
install-modules-args: '-L extlib' | |
# testing | |
- name: Run tests | |
run: | | |
prove -Iextlib/lib/perl5 -Ilib -It/lib -vr t/ |