
| Current Path : /var/www/html/store1/vendor/phpowermove/docblock/.github/workflows/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/store1/vendor/phpowermove/docblock/.github/workflows/coverage-report.yml |
# Run coverage report and upload it
name: Coverage
on:
push:
branches: [master]
jobs:
coverage:
name: coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
extensions: mbstring, dom, json, libxml, xml, xmlwriter
coverage: pcov
- name: Install dependencies
run: composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
- name: Generate coverage report
run: composer coverage:clover
- name: Upload coverage report to Scrutinizer
uses: sudo-bot/action-scrutinizer@latest
with:
cli-args: "--format=php-clover clover.xml"