Skip to content

Commit

Permalink
Added test cases for PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Dec 15, 2023
1 parent 1b8cbcb commit 34ba182
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
php-version: [ '8.0', '8.1', '8.2' ]
swoole-version: [ 'v5.0.3', 'v5.1.0', 'master' ]
php-version: [ '8.1', '8.2', '8.3' ]
swoole-version: [ 'v5.0.3', 'v5.1.1', 'master' ]
exclude:
- php-version: '8.3'
swoole-version: 'v5.0.3'
max-parallel: 16
fail-fast: false
env:
Expand Down Expand Up @@ -49,11 +52,11 @@ jobs:
run: composer install -o
- name: Build Docker
run: |
if [ v${{ matrix.php-version }} = 'v8.2' ]
if [ v${{ matrix.php-version }} = 'v8.3' ]
then
docker build . -t swoole:latest --build-arg PHP_VERSION=${{ matrix.php-version }} --build-arg ALPINE_VERSION=v3.18
docker build . -t swoole:latest --build-arg PHP_VERSION=${{ matrix.php-version }} --build-arg ALPINE_VERSION=vedge
else
docker build . -t swoole:latest --build-arg PHP_VERSION=${{ matrix.php-version }} --build-arg ALPINE_VERSION=v3.16
docker build . -t swoole:latest --build-arg PHP_VERSION=${{ matrix.php-version }} --build-arg ALPINE_VERSION=v3.18
fi
- name: Run Server
run: |
Expand Down

0 comments on commit 34ba182

Please sign in to comment.