Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
matrix:
php: ['8.3', '8.4', '8.5']
name: PHP ${{ matrix.php }}
permissions:
contents: read
code-quality: write
steps:
- uses: actions/checkout@v7

Expand All @@ -31,6 +34,7 @@ jobs:
run: composer phpunit
--
--coverage-clover coverage.xml
--coverage-cobertura cobertura.xml
--log-junit junit.xml

- name: Upload coverage reports to Codecov
Expand All @@ -46,5 +50,12 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
report_type: test_results

- name: Upload to GH coverage
uses: actions/upload-code-coverage@v1
with:
file: cobertura.xml
language: PHP
label: coverage

- name: PHPStan
run: composer phpstan
Loading