Skip to content

Commit 51daf0a

Browse files
committed
composer: calls Tester with the -C parameter
A pragmatic decision - I do not know how to set extension_dir in a cross-platform way
1 parent 510591b commit 51daf0a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
coverage: none
2222

2323
- run: composer install --no-progress --prefer-dist
24-
- run: vendor/bin/tester tests -s -C
24+
- run: composer tester
2525
- if: failure()
2626
uses: actions/upload-artifact@v4
2727
with:
@@ -41,7 +41,7 @@ jobs:
4141
coverage: none
4242

4343
- run: composer install --no-progress --prefer-dist
44-
- run: vendor/bin/tester -p phpdbg tests -s -C --coverage ./coverage.xml --coverage-src ./src
44+
- run: composer tester -- -p phpdbg --coverage ./coverage.xml --coverage-src ./src
4545
- run: wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/php-coveralls.phar
4646
- env:
4747
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"bin": ["bin/neon-lint"],
3434
"scripts": {
3535
"phpstan": "phpstan analyse",
36-
"tester": "tester tests -s"
36+
"tester": "tester tests -s -C"
3737
},
3838
"extra": {
3939
"branch-alias": {

0 commit comments

Comments
 (0)