Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI, Add PHP8.3 test #94

Merged
merged 2 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
php-version: [ '8.0', '8.1', '8.2' ]
php-version: [ '8.0', '8.1', '8.2', '8.3' ]
max-parallel: 5
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -32,5 +32,5 @@ jobs:
composer install -o

- name: Run Analysis
run: |
run:
composer analyse
26 changes: 16 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,19 @@ jobs:
runs-on: "${{ matrix.os }}"
strategy:
matrix:
os: [ubuntu-latest]
php-version: [ '8.0', '8.1', '8.2' ]
swoole-version: [ 'v4.8.13', 'v5.1.0', 'master' ]
os: [ ubuntu-latest ]
php-version: [ '8.0', '8.1', '8.2', '8.3' ]
swoole-version: [ 'v4.8.13', 'v5.1.1', 'master' ]
exclude:
- php-version: '8.3'
swoole-version: 'v4.8.13'
max-parallel: 15
fail-fast: false
env:
SWOOLE_VERSION: ${{ matrix.swoole-version }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -51,7 +54,7 @@ jobs:
composer install -o

- name: Coding Standards Check
if: matrix.php-version != '8.2'
if: matrix.php-version == '8.1'
run: |
composer cs-check

Expand All @@ -64,16 +67,19 @@ jobs:
runs-on: "${{ matrix.os }}"
strategy:
matrix:
os: [macos-latest]
php-version: [ '8.0', '8.1', '8.2' ]
swoole-version: [ 'v4.8.13', 'v5.1.0', 'master' ]
os: [ macos-latest ]
php-version: [ '8.0', '8.1', '8.2', '8.3' ]
swoole-version: [ 'v4.8.13', 'v5.1.1', 'master' ]
exclude:
- php-version: '8.3'
swoole-version: 'v4.8.13'
max-parallel: 15
fail-fast: false
env:
SWOOLE_VERSION: ${{ matrix.swoole-version }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -108,7 +114,7 @@ jobs:
composer install -o

- name: Coding Standards Check
if: matrix.php-version != '8.2'
if: matrix.php-version == '8.1'
run: |
composer cs-check

Expand Down