From 06ff626a7330b1abb0bdb15f35a9958d23020c6f Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 15 Jan 2021 10:00:17 +0100 Subject: [PATCH] fix coverage --- .github/workflows/ci.yml | 6 +++--- scripts/gen_github_workflow_ci.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4985286..2ed0b9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/scripts/gen_github_workflow_ci.php b/scripts/gen_github_workflow_ci.php index 5986230..fd99ee3 100755 --- a/scripts/gen_github_workflow_ci.php +++ b/scripts/gen_github_workflow_ci.php @@ -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 -- 2.30.2