Merge remote-tracking branch 'github/master' #117
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
# This sets up the page shown at [1]--continuous integration via | |
# GitHub's Actions[2]. Feel free to add particular environments you | |
# feel worthy of testing and proving useful in addition to those from | |
# CPAN Testers, but let's keep in mind that, unlike GitHub, CPAN | |
# Testers is a community effort and probably valuable as a way to | |
# remain independent from big companies. And please let's make sure | |
# that nobody *has* to use GitHub to contribute to the project or | |
# becomes a second class contributor if they refuse to use it. | |
# [1] https://github.com/pflanze/functional-perl/actions | |
# [2] https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions | |
name: CI | |
on: [push] | |
jobs: | |
perl-job: | |
runs-on: ubuntu-latest | |
container: | |
image: perl:${{ matrix.perl-version }} | |
strategy: | |
fail-fast: false | |
matrix: | |
perl-version: | |
- '5.32' | |
- 'latest' | |
name: Perl ${{ matrix.perl-version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Regular tests | |
run: | | |
cpanm --installdeps --notest . | |
perl Makefile.PL | |
make | |
make test | |
- name: Extended tests | |
run: | | |
cpanm --notest PadWalker FP::Repl::Dependencies Method::Signatures Text::Markdown Moo Perl::Tidy Term::ReadLine::Gnu | |
perl Makefile.PL | |
make | |
make test | |