Skip to content

Commit

Permalink
Add PHP 8.4 to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
andypost committed Jul 25, 2024
1 parent 93a820e commit 05e6040
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,23 @@ jobs:
codecov:
- false

coverage:
- pcov
tools:
- composer:v2

include:
- os: ubuntu-latest
php-version: "8.3"
dependencies: highest
codecov: true
php-ini-values: assert.exception=1, zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205
- os: ubuntu-latest
php-version: "8.4"
tools: composer:snapshot
dependencies: highest
coverage: none
php-ini-values: zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205

steps:
- name: Checkout
Expand All @@ -111,10 +122,15 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: pcov
coverage: ${{ matrix.coverage }}
tools: ${{ matrix.tools }}
extensions: ${{ env.PHP_EXTENSIONS }}
ini-values: ${{ matrix.php-ini-values }}

- name: Update composer to snapshot
if: matrix.php-version == '8.4'
run: composer self-update --snapshot

- name: Determine composer cache directory on Linux
if: matrix.os == 'ubuntu-latest'
run: echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV
Expand Down

0 comments on commit 05e6040

Please sign in to comment.