Skip to content

Commit

Permalink
Add PHP 8.2 and PHP 8.3 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Dec 10, 2023
1 parent 6e0498c commit 09cd930
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,11 @@ jobs:

strategy:
fail-fast: false
# Keys:
# - experimental: Whether the build is "allowed to fail".
matrix:
php: ['7.1', '7.2', '7.3', '7.4', '8.0']
experimental: [false]

include:
- php: '8.1'
experimental: true
php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']

name: "PHP: ${{ matrix.php }}"

continue-on-error: ${{ matrix.experimental }}

steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -41,15 +32,8 @@ jobs:

# Install dependencies and handle caching in one go.
# @link https://github.com/marketplace/actions/install-composer-dependencies
- name: "Install Composer dependencies (PHP < 8.1)"
if: ${{ matrix.php < '8.1' }}
- name: "Install Composer dependencies"
uses: "ramsey/composer-install@v2"

- name: "Install Composer dependencies (PHP 8.1)"
if: ${{ matrix.php >= '8.1' }}
uses: "ramsey/composer-install@v2"
with:
composer-options: --ignore-platform-reqs

- name: Run unit tests
run: vendor/bin/phpunit

0 comments on commit 09cd930

Please sign in to comment.