Skip to content

Commit a8ed180

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 4d10942 commit a8ed180

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
@@ -22,7 +22,7 @@ jobs:
2222
coverage: none
2323

2424
- run: composer install --no-progress --prefer-dist
25-
- run: vendor/bin/tester tests -s -C
25+
- run: composer tester
2626
- if: failure()
2727
uses: actions/upload-artifact@v4
2828
with:
@@ -42,7 +42,7 @@ jobs:
4242
coverage: none
4343

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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"minimum-stability": "dev",
4545
"scripts": {
4646
"phpstan": "phpstan analyse",
47-
"tester": "tester tests -s"
47+
"tester": "tester tests -s -C"
4848
},
4949
"extra": {
5050
"branch-alias": {

0 commit comments

Comments
 (0)