diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-05-27 13:35:04 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-05-27 13:35:04 +0300 |
| commit | ec2de7ecd2f0288e4d965148b9c6a8c1983333e9 (patch) | |
| tree | 8dbef820ca9872c616d9486e36d2c07150e1c7c5 /tests_integration | |
| parent | 8659f5950c3d794b78ece1fd7677dd3992b6d5b5 (diff) | |
| download | the-epube-ec2de7ecd2f0288e4d965148b9c6a8c1983333e9.tar.gz the-epube-ec2de7ecd2f0288e4d965148b9c6a8c1983333e9.tar.xz | |
add coverage support
Diffstat (limited to 'tests_integration')
| -rw-r--r-- | tests_integration/run.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests_integration/run.sh b/tests_integration/run.sh index 9508aec..542cc2a 100644 --- a/tests_integration/run.sh +++ b/tests_integration/run.sh @@ -162,6 +162,7 @@ export OTEL_METRICS_EXPORTER=none export OTEL_LOGS_EXPORTER=none export OTEL_PHP_DISABLED_INSTRUMENTATIONS=pdo,guzzle,psr18,slim,io export IS_INTEGRATION_TESTING=true +export XDEBUG_MODE=coverage $PHP_BIN ./update.php --update-schema=force-yes $PHP_BIN ./update.php --user-add "test:test" @@ -219,6 +220,6 @@ export API_URL="http://localhost:$PHP_PORT1/backend.php" export APP_URL="http://localhost:$PHP_PORT2" # Run PHPUnit with the integration testsuite -"$PHP_BIN" vendor/bin/phpunit \ +"$PHP_BIN" -d zend_extension=xdebug vendor/bin/phpunit \ --configuration "$PROJECT_ROOT/phpunit.integration.xml" \ "${PHPUNIT_ARGS[@]+"${PHPUNIT_ARGS[@]}"}" |
