Skip to content

Commit

Permalink
Support for PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zingimmick authored Oct 30, 2023
1 parent 3de9d14 commit 76bd46a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ '8.0', 8.1, 8.2 ]
php: [ '8.0', 8.1, 8.2, 8.3 ]
stability: [ lowest, highest ]

name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
Expand All @@ -35,7 +35,11 @@ jobs:

- if: matrix.php == '8.2'
name: Require packages for PHP 8.2
run: composer require nesbot/carbon:^2.62.1 --no-update
run: composer require nesbot/carbon:^2.62.1 --no-update --dev

- if: matrix.php == '8.3'
name: Require packages for PHP 8.3
run: composer require nesbot/carbon:^2.62.1 --no-update --dev

- name: Install dependencies
uses: ramsey/composer-install@v2
Expand All @@ -46,7 +50,7 @@ jobs:
run: composer run-script test:phpunit -- --coverage-clover coverage.xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v3
continue-on-error: true
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit 76bd46a

Please sign in to comment.