From 5b1771c8075e984f5c617881125a8f54fd4f08c3 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 28 Dec 2023 18:32:45 +0100 Subject: ci: stop on error and show verbose output. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index be4e5ecc2..c833cc136 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -59,7 +59,7 @@ before_script: - echo "USE $MYSQL_DATABASE; $(cat ./install/schema_mysql.sql)" | mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql "$MYSQL_DATABASE" - echo "SHOW DATABASES;" | mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql "$MYSQL_DATABASE" - echo "USE $MYSQL_DATABASE; SHOW TABLES;" | mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql "$MYSQL_DATABASE" - - vendor/bin/phpunit --configuration tests/phpunit-ci-mysql.xml --coverage-text + - vendor/bin/phpunit --configuration tests/phpunit-ci-mysql.xml --verbose --stop-on-error --coverage-text # hidden job definition with template for PostgreSQL #.job_template_postgres: &job_definition_postgres -- cgit v1.2.3