add badges to README and remove push trigger #5
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 Suite | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Perl | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y perl | |
sudo apt-get install -y cpanminus | |
- name: Install dependencies | |
run: sudo cpanm --installdeps --with-test . | |
- name: Run tests | |
working-directory: ./tests | |
run: prove -r |