Add router features: regex escaping, constraints, any(), and group() #147
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: Perl ${{ matrix.perl }} on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| perl: ['5.42','5.38', '5.32'] | |
| include: | |
| # Add older Perls only on Linux where they're reliably available | |
| - os: ubuntu-latest | |
| perl: '5.18' | |
| - os: ubuntu-latest | |
| perl: '5.20' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Perl ${{ matrix.perl }} | |
| uses: shogo82148/actions-setup-perl@v1 | |
| with: | |
| perl-version: ${{ matrix.perl }} | |
| - name: Install dependencies | |
| run: cpanm --notest --installdeps . | |
| - name: Run tests | |
| run: prove -lvr t/ | |
| freebsd: | |
| name: FreeBSD | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Test on FreeBSD | |
| uses: vmactions/freebsd-vm@v1 | |
| with: | |
| usesh: true | |
| prepare: | | |
| pkg install -y perl5 p5-App-cpanminus | |
| run: | | |
| cpanm --notest --installdeps . | |
| prove -lvr t/ |