Added Github workflow
This commit is contained in:
parent
939e064b5f
commit
674c06c6e8
1 changed files with 31 additions and 0 deletions
31
.github/workflows/perltest.yml
vendored
Normal file
31
.github/workflows/perltest.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# This is a basic workflow to help you get started with Actions
|
||||||
|
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||||
|
# events but only for the master branch
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
|
||||||
|
perl: [ 'latest' ]
|
||||||
|
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up perl
|
||||||
|
uses: shogo82148/actions-setup-perl@v1
|
||||||
|
with:
|
||||||
|
perl-version: ${{ matrix.perl }}
|
||||||
|
- run: perl -V
|
||||||
|
- run: cpanm --installdeps .
|
||||||
|
- run: prove -lv t
|
Loading…
Add table
Reference in a new issue