mirror of
https://github.com/friendica/friendica
synced 2025-01-03 14:42:18 +00:00
Fix command, move it to top
This commit is contained in:
parent
d3df0ff1d3
commit
2b6cc5378f
1 changed files with 3 additions and 3 deletions
|
@ -67,6 +67,9 @@ steps:
|
||||||
MEMCACHED_HOST: "memcached"
|
MEMCACHED_HOST: "memcached"
|
||||||
MEMCACHE_HOST: "memcached"
|
MEMCACHE_HOST: "memcached"
|
||||||
commands:
|
commands:
|
||||||
|
- if [ "${PHP_MAJOR_VERSION}" = "8.2" ]; then
|
||||||
|
bin/composer.phar run phpstan;
|
||||||
|
fi
|
||||||
- cp config/local-sample.config.php config/local.config.php
|
- cp config/local-sample.config.php config/local.config.php
|
||||||
- if ! bin/wait-for-connection $MYSQL_HOST $MYSQL_PORT 300; then echo "[ERROR] Waited 300 seconds, no response" >&2; exit 1; fi
|
- if ! bin/wait-for-connection $MYSQL_HOST $MYSQL_PORT 300; then echo "[ERROR] Waited 300 seconds, no response" >&2; exit 1; fi
|
||||||
- mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql
|
- mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql
|
||||||
|
@ -77,9 +80,6 @@ steps:
|
||||||
else
|
else
|
||||||
phpunit --configuration tests/phpunit.xml -d memory_limit=-1;
|
phpunit --configuration tests/phpunit.xml -d memory_limit=-1;
|
||||||
fi
|
fi
|
||||||
- if [ "${PHP_MAJOR_VERSION}" = "8.2" ]; then
|
|
||||||
bin/composer.phar run phpstan
|
|
||||||
fi
|
|
||||||
codecov:
|
codecov:
|
||||||
image: friendicaci/codecov
|
image: friendicaci/codecov
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue