Skip to content

package兼容

package兼容 #92

Workflow file for this run

name: CI
on:
push:
branches: [ "master", "2.x" ]
pull_request:
branches: [ "master" ]
jobs:
PHPUnit:
name: PHPUnit (PHP ${{ matrix.php }})
runs-on: ubuntu-latest
strategy:
matrix:
php:
- "8.4"
- "8.3"
- "8.2"
- "8.1"
- "8.0"
redis:
- "7"
- "6"
- "5"
steps:
- uses: actions/checkout@v3
- uses: supercharge/redis-github-action@1.8.0
with:
redis-version: ${{ matrix.redis }}
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: phpunit:9, composer:v2
coverage: none
- run: composer install
- run: vendor/bin/phpunit