Skip to content

Commit

Permalink
Fix sending coverage to scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
jasny committed Sep 3, 2024
1 parent 40a7d2e commit 531e186
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
desc: "Lowest versions"
- php: 8.1
- php: 8.2
coverage: '--coverage-clover /tmp/clover.xml'
coverage: '--coverage-clover ./clover.xml'
- php: 8.3
name: PHP ${{ matrix.php }} ${{ matrix.desc }}

Expand Down Expand Up @@ -46,5 +46,5 @@ jobs:
uses: sudo-bot/action-scrutinizer@latest
if: ${{ matrix.coverage }}
with:
cli-args: "--format=php-clover build/logs/clover.xml --revision=${{ github.event.pull_request.head.sha || github.sha }}"
cli-args: "--format=php-clover ./clover.xml"

2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build:
nodes:
analysis:
environment:
php: 8.2
php: 8.2.23
postgresql: false
redis: false
mongodb: false
Expand Down

0 comments on commit 531e186

Please sign in to comment.