Skip to content

Introduce Validator class #2

Introduce Validator class

Introduce Validator class #2

# Run coverage report and upload it to CodeClimate
name: Coverage
on:
push:
branches: [master]
jobs:
coverage:
name: coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: pcov
- name: Install composer dependencies
uses: ramsey/composer-install@v3
with:
composer-options: "--prefer-dist --optimize-autoloader"
- name: Test & publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: "composer coverage:clover"