Skip to content

Commit

Permalink
Fix PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
srmklive committed Nov 2, 2023
1 parent 196009f commit 56ebe59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -39,12 +39,12 @@ jobs:
PHP_VERSION: ${{ matrix.php-versions }}
run: vendor/bin/phpunit $(if [ "$PHP_VERSION" == "7.2" ]; then echo "-c phpunit.xml.dist.php72"; fi;) $(if [ "$PHP_VERSION" == "7.3" ]; then echo "-c phpunit.xml.dist.php8"; fi;) $(if [ "$PHP_VERSION" == "7.4" ]; then echo "-c phpunit.xml.dist.php8"; fi;) $(if [ "$PHP_VERSION" == "8.0" ]; then echo "-c phpunit.xml.dist.php8"; fi;) --coverage-clover build/logs/clover.xml
- name: Install PestPHP
if: matrix.php-versions == '8.1' || matrix.php-versions == '8.2'
if: matrix.php-versions == '8.1' || matrix.php-versions == '8.2' || matrix.php-versions == '8.3'
env:
PHP_VERSION: ${{ matrix.php-versions }}
run: composer require pestphp/pest --dev --with-all-dependencies
- name: Run tests for PHP 8.1+ with code coverage
if: matrix.php-versions == '8.1' || matrix.php-versions == '8.2'
if: matrix.php-versions == '8.1' || matrix.php-versions == '8.2' || matrix.php-versions == '8.3'
env:
PHP_VERSION: ${{ matrix.php-versions }}
run: vendor/bin/pest --coverage-clover build/logs/clover.xml
Expand Down

0 comments on commit 56ebe59

Please sign in to comment.