Skip to content

Commit

Permalink
Merge pull request #99 from akrabat/phpcs-in-composer
Browse files Browse the repository at this point in the history
Add PHP 8.2 and 8.3 to CI and update composer test target
  • Loading branch information
akrabat committed May 9, 2024
2 parents c514f7f + 1f9452c commit 81fbce8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [7.4, 8.0, 8.1]
php: [7.4, 8.0, 8.1, 8.2, 8.3]
include:
- php: 8.1
analysis: true
Expand Down
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@
}
},
"scripts": {
"test": "phpunit --configuration phpunit.xml.dist",
"test": [
"@phpcs",
"@phpunit"
],
"phpunit": "phpunit",
"phpcs": "phpcs",
"test:coverage": "phpunit --configuration phpunit.xml.dist --coverage-clover build/logs/clover.xml --coverage-html build/coverage"
},
"config": {
Expand Down

0 comments on commit 81fbce8

Please sign in to comment.