Skip to content

Commit d1e7c2d

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 0823e59 commit d1e7c2d

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
@@ -48,7 +48,7 @@
4848
"bin": ["bin/latte-lint"],
4949
"scripts": {
5050
"phpstan": "phpstan analyse",
51-
"tester": "tester tests -s"
51+
"tester": "tester tests -s -C"
5252
},
5353
"extra": {
5454
"branch-alias": {

0 commit comments

Comments
 (0)