Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 (#19) #71
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: Test Coverage | |
on: [workflow_dispatch, push, pull_request] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
name: Test coverage | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
extensions: mbstring, intl | |
ini-values: post_max_size=256M, short_open_tag=On | |
coverage: xdebug | |
- name: Install dependencies | |
run: | | |
composer install --prefer-dist --no-progress | |
composer require --dev scrutinizer/ocular | |
- name: Test coverage | |
run: | | |
composer test-coverage | |
echo "Upload results to Scrutinizer-ci" | |
vendor/bin/ocular code-coverage:upload --format=php-clover build/clover.xml |