From 339624568d73ca8fc9e5ce5f5f0608de3bf36887 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 15 May 2021 23:44:25 +0200 Subject: [PATCH] Fixing CodeCov --- .drone.yml | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/.drone.yml b/.drone.yml index af3ff6c790..8eed7af6b4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -84,17 +84,7 @@ steps: - cp config/local-sample.config.php config/local.config.php - while ! mysqladmin ping -h$MYSQL_HOST -P$MYSQL_PORT --silent; do sleep 1; done - mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql - - phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml - - name: Codecov - image: plugins/codecov - when: - repo: - - friendica/friendica - settings: - token: - from_secret: codecov-token - files: - - clover.xml + - phpunit --configuration tests/phpunit.xml services: - name: mariadb @@ -130,6 +120,7 @@ steps: MEMCACHED_HOST: "memcached" MEMCACHE_HOST: "memcached" commands: + - phpenmod xdebug - composer validate - composer install --prefer-dist - cp config/local-sample.config.php config/local.config.php @@ -186,17 +177,7 @@ steps: - cp config/local-sample.config.php config/local.config.php - while ! mysqladmin ping -h$MYSQL_HOST -P$MYSQL_PORT --silent; do sleep 1; done - mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql - - phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml - - name: Codecov - image: plugins/codecov - when: - repo: - - friendica/friendica - settings: - token: - from_secret: codecov-token - files: - - clover.xml + - phpunit --configuration tests/phpunit.xml services: - name: mariadb