comments should not change parser state #1586
Workflow file for this run
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: 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 |