Bump phpunit/phpunit from 9.6.13 to 9.6.15 #142
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: Tests & coverage | ||
Check failure on line 1 in .github/workflows/coverage.yml GitHub Actions / Tests & coverageInvalid workflow file
|
||
on: [pull_request] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: php-actions/composer@v5 | ||
- name: PHPUnit tests | ||
uses: php-actions/phpunit@v3 | ||
with: | ||
configuration: phpunit.xml | ||
args: --coverage-text | ||
php_version : 7.4 | ||
version : 9 | ||
php_extensions: xdebug | ||
env: | ||
XDEBUG_MODE: coverage | ||
- name: PHPUnit tests for PHP 8 | ||
uses: php-actions/phpunit@v3 | ||
with: | ||
configuration: phpunit.xml | ||
args: --coverage-text | ||
php_version: 8 | ||
version: 9 | ||
php_extensions: xdebug | ||
env: | ||
XDEBUG_MODE: coverage | ||
- name: PHPUnit tests for PHP 8.1 | ||
uses: php-actions/phpunit@v3 | ||
with: | ||
configuration: phpunit.xml | ||
args: --coverage-text | ||
php_version: 8.1 | ||
version: 9 | ||
php_extensions: xdebug | ||
env: | ||
XDEBUG_MODE: coverage | ||
- name: Monitor coverage | ||
if: ! contains(github.event.pull_request.user.login, 'dependabot[bot]') | ||
uses: slavcodev/coverage-monitor-action@v1 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
coverage_path: "clover.xml" | ||
threshold_alert: 10 | ||
threshold_warning: 50 |