Skip to content

Commit

Permalink
Add PHP 8.2 Support (#87)
Browse files Browse the repository at this point in the history
* add php 8.2 to workflow

* exclude php 8.2 + L7
  • Loading branch information
patinthehat authored Dec 9, 2022
1 parent d44ecd9 commit dab713b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.1, 8.0, 7.4]
php: [8.2, 8.1, 8.0, 7.4]
laravel: [9.*, 8.*, 7.*]
stability: [prefer-lowest, prefer-stable]
include:
Expand All @@ -28,6 +28,8 @@ jobs:
laravel: 9.*
- php: 8.1
laravel: 7.*
- php: 8.2
laravel: 7.*

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

Expand All @@ -48,7 +50,7 @@ jobs:
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit

0 comments on commit dab713b

Please sign in to comment.