Introduce Validator class #2
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
# 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" |