Switch to xdebug for code coverage reports

This commit is contained in:
Alejandro Celaya
2024-10-21 11:54:45 +02:00
parent 9b16749737
commit 044efe6ee4
7 changed files with 18 additions and 18 deletions

View File

@@ -6,6 +6,8 @@ export TEST_RUNTIME="${TEST_RUNTIME:-"rr"}" # rr is the only runtime currently s
export DB_DRIVER="${DB_DRIVER:-"postgres"}"
export GENERATE_COVERAGE="${GENERATE_COVERAGE:-"no"}"
[ "$GENERATE_COVERAGE" != 'no' ] && export XDEBUG_MODE=coverage
# Reset logs
OUTPUT_LOGS=data/log/api-tests/output.log
rm -rf data/log/api-tests