Skip to content

Commit 2dc8761

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 ed05857 commit 2dc8761

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
@@ -103,7 +103,7 @@ jobs:
103103
run: docker exec -i mssql /opt/mssql-tools18/bin/sqlcmd -S localhost -U SA -P 'YourStrong!Passw0rd' -Q 'CREATE DATABASE nette_test' -N -C
104104

105105
- run: composer install --no-progress --prefer-dist
106-
- run: vendor/bin/tester tests -s -C
106+
- run: composer tester
107107
- if: failure()
108108
uses: actions/upload-artifact@v4
109109
with:
@@ -125,4 +125,4 @@ jobs:
125125
run: cp ./tests/databases.sqlite.ini ./tests/Database/databases.ini
126126

127127
- run: composer update --no-progress --prefer-dist --prefer-lowest --prefer-stable
128-
- run: vendor/bin/tester tests -s -C
128+
- run: composer tester

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"minimum-stability": "dev",
3838
"scripts": {
3939
"phpstan": "phpstan analyse",
40-
"tester": "tester tests -s"
40+
"tester": "tester tests -s -C"
4141
},
4242
"extra": {
4343
"branch-alias": {

0 commit comments

Comments
 (0)