We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dee991 commit 86b3f9bCopy full SHA for 86b3f9b
bin/run-tests.sh
@@ -9,7 +9,10 @@ docker compose exec -u www-data wordpress \
9
10
echo "Running the tests..."
11
12
-docker compose exec -u www-data -e XDEBUG_MODE=coverage wordpress \
+# Use XDEBUG_MODE_PHPUNIT if set, otherwise use "coverage" as default.
13
+XDEBUG_MODE=${XDEBUG_MODE_PHPUNIT:-coverage}
14
+
15
+docker compose exec -u www-data -e XDEBUG_MODE=$XDEBUG_MODE wordpress \
16
/var/www/html/wp-content/plugins/woocommerce-gateway-stripe/vendor/bin/phpunit \
17
--configuration /var/www/html/wp-content/plugins/woocommerce-gateway-stripe/phpunit.xml.dist \
18
$*
0 commit comments