Skip to content

Commit

Permalink
Generate coverage on Scrutinizer instead
Browse files Browse the repository at this point in the history
pelmered committed Feb 2, 2024
1 parent 34fba92 commit 3512e10
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -37,8 +37,6 @@ jobs:
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit --coverage-clover=coverage.xml
- name: Upload Scrutinizer coverage
uses: sudo-bot/action-scrutinizer@latest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
8 changes: 8 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -4,6 +4,14 @@ build:
environment:
php:
version: 8.3
coverage:
tests:
override:
- command: vendor/bin/phpunit --coverage-clover=coverage.xml
coverage:
file: coverage.xml
format: clover


filter:
excluded_paths:

0 comments on commit 3512e10

Please sign in to comment.