Merge pull request #435 from tedious/php_8_5 #81
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, pull_request] | |
| env: | |
| IS_GITHUB: "true" | |
| jobs: | |
| phpunit: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php_version: ["8.1", "8.2", "8.3", "8.4", "8.5", "latest"] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Start Redis on Default Port | |
| uses: supercharge/redis-github-action@1.4.0 | |
| with: | |
| redis-port: 6379 | |
| # - name: Start 2nd Redis Server on 6380 | |
| # uses: supercharge/redis-github-action@1.4.0 | |
| # with: | |
| # redis-port: 6380 | |
| # These are the versions of the *actions*, not the libraries. | |
| - name: Install PHP Packages | |
| uses: php-actions/composer@v5 | |
| - name: Run Tests | |
| uses: php-actions/phpunit@v4 | |
| with: | |
| version: 9.6.16 | |
| php_version: ${{ matrix.php_version }} |