ci: attempt to fix codecov (the old way)
authorMichael Wallner <mike@php.net>
Mon, 2 May 2022 12:00:12 +0000 (14:00 +0200)
committerMichael Wallner <mike@php.net>
Mon, 2 May 2022 12:00:12 +0000 (14:00 +0200)
.github/workflows/ci.yml
scripts/gen_github_workflow_ci.php

index b427b4def3b4db2775c7d35f1c9a9477d2757e8c..3f191635e085dbfb0498879cbb8438147c24e657 100644 (file)
@@ -179,7 +179,5 @@ jobs:
         run: |
           find . -name '*.gc*'
           cd .libs
-          curl -Os https://uploader.codecov.io/latest/linux/codecov
-          chmod +x codecov
-          ./codecov
+          bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
 
index 6ae9e4513d527e911cc8ce0c106dee603085eaf6..7fca971851a41d8cc1f4254af801f96544865651 100755 (executable)
@@ -89,9 +89,7 @@ foreach ($job as $id => $env) {
         run: |
           find . -name '*.gc*'
           cd .libs
-          curl -Os https://uploader.codecov.io/latest/linux/codecov
-          chmod +x codecov
-          ./codecov
+          bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
 <?php endif; ?>
 
 <?php