Set COLUMNS env var when running unit tests

This commit is contained in:
Alejandro Celaya 2024-04-13 20:56:59 +02:00
parent dc8dfa9f0c
commit 986f1162dd

View file

@ -118,7 +118,7 @@
"@parallel test:unit test:db", "@parallel test:unit test:db",
"@parallel test:api test:cli" "@parallel test:api test:cli"
], ],
"test:unit": "@php vendor/bin/phpunit --order-by=random --colors=always --testdox", "test:unit": "COLUMNS=120 vendor/bin/phpunit --order-by=random --colors=always --testdox",
"test:unit:ci": "@test:unit --coverage-php=build/coverage-unit.cov", "test:unit:ci": "@test:unit --coverage-php=build/coverage-unit.cov",
"test:unit:pretty": "@test:unit --coverage-html build/coverage-unit/coverage-html", "test:unit:pretty": "@test:unit --coverage-html build/coverage-unit/coverage-html",
"test:db": "@parallel test:db:sqlite:ci test:db:mysql test:db:maria test:db:postgres test:db:ms", "test:db": "@parallel test:db:sqlite:ci test:db:mysql test:db:maria test:db:postgres test:db:ms",