]> git.mxchange.org Git - friendica.git/blobdiff - .woodpecker/.phpunit.yml
Merge pull request #12975 from tobiasd/20230406-transifexconfig
[friendica.git] / .woodpecker / .phpunit.yml
index 7cb91eff765082224e7012103b46808b791225ea..aee7fd384dd5920286efa12ae75f82cb79d8385d 100644 (file)
@@ -1,11 +1,17 @@
 matrix:
   include:
     - PHP_MAJOR_VERSION: 7.3
-      PHP_VERSION: 7.3.28
+      PHP_VERSION: 7.3.33
     - PHP_MAJOR_VERSION: 7.4
-      PHP_VERSION: 7.4.18
+      PHP_VERSION: 7.4.33
     - PHP_MAJOR_VERSION: 8.0
-      PHP_VERSION: 8.0.5
+      PHP_VERSION: 8.0.25
+    - PHP_MAJOR_VERSION: 8.1
+      PHP_VERSION: 8.1.12
+
+# This forces PHP Unit executions at the "opensocial" labeled location (because of much more power...)
+labels:
+  location: opensocial
 
 pipeline:
   php-lint:
@@ -65,20 +71,19 @@ pipeline:
         else
           phpunit --configuration tests/phpunit.xml;
         fi
-
   codecov:
-    image: plugins/codecov
+    image: friendicaci/codecov
     when:
       matrix:
         PHP_MAJOR_VERSION: 7.4
-        PHP_VERSION: 7.4.18
+        PHP_VERSION: 7.4.33
       repo:
         - friendica/friendica
-    settings:
-      token:
-        from_secret: codecov-token
-      files:
-        - clover.xml
+    commands:
+      - codecov -R '.' -Z -f 'clover.xml'
+    secrets:
+      - source: codecov-token
+        target: codecov_token
 
 services:
   mariadb: