Skip to content

Commit

Permalink
chore(ci): enable tests for php 8.3 and laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzarbn committed Mar 30, 2024
1 parent 94aab34 commit e9acfdf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,15 +296,15 @@ jobs:
run: composer update --with "orchestra/testbench=^5.0" --prefer-dist --no-progress

- name: Install laravel/legacy-factories only for Laravel >= 8.0
if: matrix.laravel-version == '^8.0' || matrix.laravel-version == '^9.0'
if: matrix.laravel-version == '^8.0' || matrix.laravel-version == '^9.0' || matrix.laravel-version == '^10.0' || matrix.laravel-version == '^11.0'
run: composer require "laravel/legacy-factories" --prefer-dist --no-progress

- name: Upgrade to PHPUnit 9 for PHP >= 8.0
if: matrix.laravel-version == '^8.0' || matrix.laravel-version == '^9.0'
if: matrix.laravel-version == '^8.0' || matrix.laravel-version == '^9.0' || matrix.laravel-version == '^10.0' || matrix.laravel-version == '^11.0'
run: composer update --with "phpunit/phpunit=^9.0" --prefer-dist --no-progress

- name: Upgrade PHPUnit Config for Laravel >= 8.0
if: matrix.laravel-version == '^8.0' || matrix.laravel-version == '^9.0'
if: matrix.laravel-version == '^8.0' || matrix.laravel-version == '^9.0' || matrix.laravel-version == '^10.0' || matrix.laravel-version == '^11.0'
run: vendor/bin/phpunit -c phpunit.xml.dist --migrate-configuration

- name: Run test suite with Sqlite
Expand Down

0 comments on commit e9acfdf

Please sign in to comment.