PHPCoverage #374
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHPCoverage | |
on: | |
push: | |
branches: | |
- "**" | |
schedule: | |
- cron: "0 1 * * *" | |
permissions: | |
contents: read | |
jobs: | |
standard: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Composer Install | |
run: composer install --prefer-dist --no-progress | |
- name: PHPUnitCoverage | |
run: XDEBUG_MODE=coverage ./vendor/bin/phpunit --log-junit junit_report.xml --coverage-clover clover.xml --coverage-text --colors=never | |
- name: CodeCov | |
uses: codecov/codecov-action@v4 |