Skip to content

Bump phpunit/phpunit from 9.6.13 to 9.6.15 #142

Bump phpunit/phpunit from 9.6.13 to 9.6.15

Bump phpunit/phpunit from 9.6.13 to 9.6.15 #142

Workflow file for this run

name: Tests & coverage

Check failure on line 1 in .github/workflows/coverage.yml

View workflow run for this annotation

GitHub Actions / Tests & coverage

Invalid workflow file

The workflow is not valid. .github/workflows/coverage.yml: (Line: 45, Col: 13, Idx: 1059) - (Line: 45, Col: 14, Idx: 1060): While parsing a tag, did not find expected tag URI.
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