forked from cucumber/gherkin
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (42 loc) · 885 Bytes
/
test-perl.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: test-perl
on:
push:
branches:
- main
- renovate/**
paths:
- perl/**
- testdata/**
- .github/**
pull_request:
branches:
- main
paths:
- perl/**
- testdata/**
- .github/**
workflow_call:
jobs:
test-perl:
runs-on: ubuntu-latest
strategy:
matrix:
perl-version:
- "5.14"
- "5.36"
steps:
- uses: actions/checkout@v4
- name: Setup Perl environment
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
install-modules-with: cpanm
working-directory: perl
- name: run tests
run: |
prove -l
AUTHOR_TESTS=1 prove -l
working-directory: perl
- name: run acceptance tests
run: make acceptance
working-directory: perl