Skip to content

Bump actions/checkout from 3 to 4 #105

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #105

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@v4
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