Skip to content

Commit

Permalink
Add PHP 8.3 to test matrix (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfox authored Nov 30, 2023
1 parent 1d076c0 commit 00a211c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_pgsql
tools: composer:v2
coverage: pcov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3
coverage: none

- name: Install composer dependencies
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,33 @@ on:
push:
pull_request:
branches: [main]
schedule:
- cron: '0 0 * * *'

jobs:
test:
if: (github.event_name != 'schedule' || github.repository == 'ylsideas/feature-flags') &&
!(matrix.dependencies != 'stable' && github.event_name == 'scheduled')
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2, 8.1, 8.0]
php: [8.3, 8.2, 8.1]
laravel: [9.*, 10.*]
dependencies: [lowest, stable]
include:
- laravel: 9.*
testbench: ^7.0
- laravel: 10.*
testbench: ^8.0
- php: 8.3
dependencies: lowest
carbon: ^2.62.1
- php: 8.2
dependencies: lowest
carbon: ^2.62.1
exclude:
- laravel: 10.*
php: 8.0
- laravel: 10.*
os: windows-latest

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependencies }} - ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^8.0",
"php": "^8.1",
"illuminate/contracts": "10.*|^9.6"
},
"require-dev": {
Expand Down

0 comments on commit 00a211c

Please sign in to comment.