Fixing CodeCov

This commit is contained in:
Philipp Holzer 2021-05-15 23:44:25 +02:00
parent f1e268ee0a
commit 339624568d
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD

View file

@ -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