fix coverage
authorMichael Wallner <mike@php.net>
Fri, 15 Jan 2021 09:00:17 +0000 (10:00 +0100)
committerMichael Wallner <mike@php.net>
Fri, 15 Jan 2021 09:00:17 +0000 (10:00 +0100)
.github/workflows/ci.yml
scripts/gen_github_workflow_ci.php

index 4985286455a2861b893f9a018492f7f1390b18ee..2ed0b9cf1b6d7d2e6ee6a3c3b307d7f152b6268b 100644 (file)
@@ -308,8 +308,8 @@ jobs:
   cur-cov-0:
     name: cur-cov-0
     env:
-      CFLAGS: "'-O0 -g --coverage'"
-      CXXFLAGS: "'-O0 -g --coverage'"
+      CFLAGS: "-O0 -g --coverage"
+      CXXFLAGS: "-O0 -g --coverage"
       PHP: "8.0"
     runs-on: ubuntu-20.04
     steps:
@@ -334,6 +334,6 @@ jobs:
       - name: Coverage
         if: success()
         run: |
-          cd src/.libs
+          cd .libs
           bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
 
index 5986230ce5f69b0d18ea74b55e37be8bcd2990ec..fd99ee3a5e6f51ed78aa43d00d4b3430cdf0b130 100755 (executable)
@@ -29,8 +29,8 @@ $job = $gen->github([
        "enable_zts",
 ],
 "cur-cov" => [
-       "CFLAGS" => "'-O0 -g --coverage'",
-       "CXXFLAGS" => "'-O0 -g --coverage'",
+       "CFLAGS" => "-O0 -g --coverage",
+       "CXXFLAGS" => "-O0 -g --coverage",
        "PHP" => $cur,
 ]]);
 foreach ($job as $id => $env) {
@@ -68,7 +68,7 @@ foreach ($job as $id => $env) {
       - name: Coverage
         if: success()
         run: |
-          cd src/.libs
+          cd .libs
           bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
 <?php endif; ?>