Skip to content

Commit 7a1e9a5

Browse files
committed
Added PHP 8.4 to tests
1 parent 2661655 commit 7a1e9a5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
php: [7.4, 8.0, 8.1, 8.2, 8.3]
15+
php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4]
1616

1717
name: PHP ${{ matrix.php }}
1818

@@ -32,4 +32,4 @@ jobs:
3232
run: composer update --no-interaction --no-progress
3333

3434
- name: Execute tests
35-
run: vendor/bin/phpunit --verbose
35+
run: composer run tests

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
"Opis\\JsonSchema\\Test\\": "tests/"
4242
}
4343
},
44+
"scripts": {
45+
"tests": "./vendor/bin/phpunit --verbose --color"
46+
},
4447
"extra": {
4548
"branch-alias": {
4649
"dev-master": "2.x-dev"

0 commit comments

Comments
 (0)