Skip to content

Bump stefanzweifel/git-auto-commit-action from 4 to 5 #107

Bump stefanzweifel/git-auto-commit-action from 4 to 5

Bump stefanzweifel/git-auto-commit-action from 4 to 5 #107

Workflow file for this run

name: Test Coverage
on: [workflow_dispatch, push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
name: Test coverage
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
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
- name: Test coverage
run: |
vendor/bin/phpunit --coverage-clover clover.xml --whitelist src
echo "Upload results to Scrutinizer-ci"
vendor/bin/ocular code-coverage:upload --format=php-clover clover.xml