Skip to content

Commit

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

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
fetch-depth: 10

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -45,4 +45,4 @@ 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 a67d0dd

Please sign in to comment.