Merge pull request #25 from totten/master-php84 #22
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
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| name: Test | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.operating-system }} | |
| strategy: | |
| matrix: | |
| include: | |
| - operating-system: ubuntu-latest | |
| php: 7.3 | |
| phpunit: 8 | |
| - operating-system: ubuntu-latest | |
| php: 7.4 | |
| phpunit: 8 | |
| - operating-system: ubuntu-latest | |
| php: 8.1 | |
| phpunit: 9 | |
| - operating-system: ubuntu-latest | |
| php: 8.3 | |
| phpunit: 9 | |
| - operating-system: ubuntu-latest | |
| php: 8.4 | |
| phpunit: 9 | |
| ## We used to test here, but we were forced to switch to newer actions. | |
| ## But these actions don't seem to run on Windows... | |
| #- operating-system: windows-2019 | |
| # php: '7.3' | |
| # phpunit: 8 | |
| name: PHP ${{ matrix.php }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: php-actions/composer@v6 | |
| - name: PHPUnit Tests | |
| uses: php-actions/phpunit@v3 | |
| with: | |
| configuration: phpunit.xml.dist | |
| version: ${{ matrix.phpunit }} | |
| php_version: ${{ matrix.php }} |