Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zeriyoshi committed Aug 20, 2024
1 parent 83912d4 commit b9d4e57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ 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
with:
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

0 comments on commit b9d4e57

Please sign in to comment.