diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf0b19750..1bc67cd11 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,8 @@ phpunit_basic: script: - /etc/init.d/postgresql start - /usr/local/sbin/init-database.sh - - sudo -s /bin/bash -u www-data php ./update.php --debug-feed 1 + - sh ./utils/gitlab-ci/check-schema.sh + - su -s /bin/bash -u www-data -c "php ./update.php --debug-feed 1" - phpunit tests/*.php phpunit_functional: