Skip to content

Commit

Permalink
Add (initial) support for PHP 8.4 (#1631)
Browse files Browse the repository at this point in the history
* Run tests on PHP 8.4

* Update integration test to actually test clear command functionality
  • Loading branch information
jnoordsij authored Oct 30, 2024
1 parent 423ee47 commit 3ad206c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/run-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
COMPOSER_NO_INTERACTION: 1
strategy:
matrix:
php: [8.3, 8.2, 8.1, 8.0]
php: [8.4, 8.3, 8.2, 8.1, 8.0]
lumen: [10.*, 9.*]
exclude:
- lumen: 10.*
Expand Down Expand Up @@ -54,10 +54,11 @@ jobs:
- name: Execute clear run
run: |
cd sample
mkdir -p "storage/debugbar/" && touch "storage/debugbar/foo.json"
php artisan debugbar:clear
- name: Check file count in logs
run: |
if [ `ls -1q "sample/storage/logs/" | wc -l` -gt 0 ];then exit 1;fi
if [ `ls -1q "sample/storage/debugbar/" | wc -l` -gt 0 ];then exit 1;fi
php-laravel-integration-tests:
runs-on: ubuntu-latest
timeout-minutes: 15
Expand All @@ -66,7 +67,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.3, 8.2, 8.1, 8.0]
php: [8.4, 8.3, 8.2, 8.1, 8.0]
laravel: [11.*, 10.*, 9.*]
exclude:
- laravel: 10.*
Expand Down Expand Up @@ -103,7 +104,8 @@ jobs:
- name: Execute generate run
run: |
cd sample
mkdir -p "storage/debugbar/" && touch "storage/debugbar/foo.json"
php artisan debugbar:clear
- name: Check file count in logs
run: |
if [ `ls -1q "sample/storage/logs/" | wc -l` -gt 0 ];then exit 1;fi
if [ `ls -1q "sample/storage/debugbar/" | wc -l` -gt 0 ];then exit 1;fi
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.3, 8.2, 8.1, 8.0]
php: [8.4, 8.3, 8.2, 8.1, 8.0]
laravel: [^11, ^10, ^9]
dependency-version: [prefer-stable]
exclude:
Expand Down

0 comments on commit 3ad206c

Please sign in to comment.