From b9d4e57b09ed501971b61054a980dfe9ee1a7155 Mon Sep 17 00:00:00 2001 From: Go Kudo Date: Wed, 21 Aug 2024 01:36:04 +0900 Subject: [PATCH] wip --- .github/workflows/coverage.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index e846a41..47d88c1 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -31,7 +31,7 @@ jobs: docker compose build --pull --no-cache --build-arg PLATFORM="linux/amd64" --build-arg IMAGE="php" --build-arg TAG="${{ matrix.version }}-${{ matrix.type }}-${{ matrix.distro }}" - name: Test with gcov run: | - docker compose run -v "$(pwd)/ext:/ext" --rm shell /bin/sh -c "pskel test gcov && gcovr --root /ext --exclude Zend/* --exclude third_party/* --xml coverage.xml" + docker compose run -v "$(pwd)/ext:/ext" --rm shell /bin/sh -c "pskel test gcov && gcovr --root /ext --exclude Zend/* --exclude third_party/* --xml /coverage.xml" - name: Make coverage badge # if: github.ref == 'refs/heads/main' && github.event_name == 'push' uses: action-badges/cobertura-coverage-xml-badges@d538b75ae142f6dc1814baeffb9535d2d28054f9 @@ -39,4 +39,4 @@ jobs: file-name: coverage-${{ matrix.version }}-${{ matrix.type }}-${{ matrix.distro }}.svg badge-branch: automations/badges github-token: '${{ secrets.GITHUB_TOKEN }}' - coverage-file-name: coverage.xml + coverage-file-name: /coverage.xml