Merge pull request #35 from n7st/n7st/#34-integration_actions_endpoints #98
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: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: 'ubuntu-latest' | |
container: | |
image: 'n7st/distzilla:5.37.0' | |
steps: | |
- name: 'Check out the code' | |
uses: 'actions/checkout@v3' | |
- name: 'Install Codecov reporter' | |
run: | | |
cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Codecov | |
- name: 'Install dependencies' | |
run: | | |
dzil authordeps --missing | xargs -n 5 -P 10 cpanm --no-interactive --notest --quiet | |
dzil listdeps --missing --author | xargs -n 5 -P 10 cpanm --no-interactive --notest --quiet | |
- name: 'Run the test suite' | |
run: dzil test -cover | |