]> git.mxchange.org Git - friendica.git/blobdiff - .woodpecker/.phpunit.yml
Upgrade PHP version in PHP-CI
[friendica.git] / .woodpecker / .phpunit.yml
index e4661a91e83ee2ab838904fda84458a272652904..f3d60fbf9c5a08f02dd8a1679335fff8c017549a 100644 (file)
@@ -5,20 +5,22 @@ matrix:
     - PHP_MAJOR_VERSION: 7.4
       PHP_VERSION: 7.4.33
     - PHP_MAJOR_VERSION: 8.0
-      PHP_VERSION: 8.0.25
+      PHP_VERSION: 8.0.30
     - PHP_MAJOR_VERSION: 8.1
-      PHP_VERSION: 8.1.12
+      PHP_VERSION: 8.1.23
+    - PHP_MAJOR_VERSION: 8.2
+      PHP_VERSION: 8.2.11
 
 # This forces PHP Unit executions at the "opensocial" labeled location (because of much more power...)
 labels:
   location: opensocial
 
-pipeline:
+steps:
   php-lint:
     image: php:${PHP_MAJOR_VERSION}
     group: lint
     commands:
-      - ./bin/composer.phar run lint
+      - find . -name \*.php -not -path './vendor/*' -not -path './view/asset/*' -print0 | xargs -0 -n1 php -l
   restore_cache:
     image: meltwater/drone-cache:dev
     settings:
@@ -80,7 +82,7 @@ pipeline:
       repo:
         - friendica/friendica
     commands:
-      - codecov -B ${CI_COMMIT_BRANCH} -C ${CI_COMMIT_SHA} -P ${CI_COMMIT_PULL_REQUEST} -b ${CI_PIPELINE_NUMBER} -Z -f 'clover.xml'
+      - codecov -R '.' -Z -f 'clover.xml'
     secrets:
       - source: codecov-token
         target: codecov_token