Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from dragon3/use-github-actions
Setup Github Actions for test
- Loading branch information
Showing
3 changed files
with
30 additions
and
12 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: test | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
# os: ['ubuntu-18.04', 'macOS-10.14', 'windows-2019'] | ||
os: ['ubuntu-18.04'] | ||
perl: | ||
- '5.22' | ||
- '5.24' | ||
- '5.26' | ||
- '5.28' | ||
- '5.30' | ||
name: Perl ${{ matrix.perl }} on ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup perl | ||
uses: shogo82148/actions-setup-perl@v1 | ||
with: | ||
perl-version: ${{ matrix.perl }} | ||
- run: perl -V | ||
- run: cpanm -n Devel::Cover::Report::Coveralls | ||
- run: cpanm --installdeps -n . | ||
- run: perl Build.PL && ./Build build && cover -test -report coveralls | ||
env: | ||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} |
This file was deleted.
Oops, something went wrong.
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