v0.040 #14
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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: | | |
sudo apt install cpanminus | |
git config --global user.name "GitHub Actions" | |
sudo cpanm --quiet --notest --skip-satisfied Dist::Zilla | |
dzil authordeps | grep -vP '[^\w:]' | xargs -n 5 -P 10 sudo cpanm --quiet --notest --skip-satisfied | |
export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1 | |
dzil listdeps | grep -vP '[^\w:]' | sudo cpanm --quiet --notest --skip-satisfied | |
- name: Test | |
run: | | |
dzil smoke --release --author | |