]> git.mxchange.org Git - friendica.git/commitdiff
Use PHP 8.2 for codecoverage
authorPhilipp <admin@philipp.info>
Fri, 15 Mar 2024 22:06:13 +0000 (23:06 +0100)
committerPhilipp <admin@philipp.info>
Fri, 15 Mar 2024 22:58:31 +0000 (23:58 +0100)
.woodpecker/.phpunit.yml

index 2b03d209ba5330cb278a4e593342eff3e762c38f..0699d78b5b42b9cd67a70b186cdfd6a3a53b3e6d 100644 (file)
@@ -66,7 +66,7 @@ steps:
       - 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
       - mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql
-      - if [ "${PHP_MAJOR_VERSION}" = "7.4" -a "${CI_REPO}" = "friendica/friendica" ]; then
+      - if [ "${PHP_MAJOR_VERSION}" = "8.2" -a "${CI_REPO}" = "friendica/friendica" ]; then
           phpenmod xdebug;
           export XDEBUG_MODE=coverage;
           phpunit --configuration tests/phpunit.xml -d memory_limit=-1 --coverage-clover clover.xml;
@@ -77,8 +77,8 @@ steps:
     image: friendicaci/codecov
     when:
       matrix:
-        PHP_MAJOR_VERSION: 7.4
-        PHP_VERSION: 7.4.33
+        PHP_MAJOR_VERSION: 8.2
+        PHP_VERSION: 8.2.16
       repo:
         - friendica/friendica
     commands: