Fix infinite loop and memory exhaustion on an over-long charset name #42
Workflow file for this run
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: tests | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| linux_tests: | |
| runs-on: ubuntu-latest | |
| if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')" | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| php: ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5"] | |
| name: PHP ${{ matrix.php }}/Linux | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| coverage: none | |
| - name: Update PEAR | |
| if: ${{ matrix.php == '8.5' }} | |
| run: sudo pear update-channels && sudo pear upgrade --force PEAR | |
| - name: Execute tests | |
| run: pear run-tests tests/*.phpt | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@master | |
| if: failure() | |
| with: | |
| name: Diffs | |
| path: tests/*.diff |