Skip to content

Commit c62b88c

Browse files
committed
Update CI workflow to run full test suite with coverage and adjust PHPStan parser version
1 parent fa717b7 commit c62b88c

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,15 @@ jobs:
4646
run: php bin/typephp cache:warm
4747

4848
- name: Run Runtime Type Checking Engine Suite (Pest)
49-
run: ./vendor/bin/pest tests/TypeChecking/ArraysAndShapes/ClassConstKeyShapeTest.php tests/TypeChecking/ArraysAndShapes/OffsetAccessTest.php
49+
run: ./vendor/bin/pest tests/TypeChecking --compact
50+
51+
- name: Run Full Test Suite with Coverage (Pest)
52+
run: ./vendor/bin/pest --coverage-clover=clover.xml --compact
53+
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.4'
54+
55+
- name: Run Full Test Suite (Pest)
56+
run: ./vendor/bin/pest --compact
57+
if: "! (matrix.os == 'ubuntu-latest' && matrix.php == '8.4')"
5058

5159
- name: Upload Coverage to Codecov
5260
uses: codecov/codecov-action@v5

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
],
2727
"require": {
2828
"php": "^8.1",
29-
"phpstan/phpdoc-parser": "^2.3.5",
29+
"phpstan/phpdoc-parser": "^2.0",
3030
"nikic/php-parser": "^5.3"
3131
},
3232
"require-dev": {

0 commit comments

Comments
 (0)