diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c065d1..37080c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,10 @@ name: CI on: - pull_request: - branches: - - "*.x" push: - branches: - - "*.x" + branches: [ "main" ] + pull_request: + branches: [ "main" ] jobs: phpunit: diff --git a/.gitignore b/.gitignore index 88978ed..523701e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ /vendor/ /.idea .phpunit.cache -.php-cs-fixer.cache \ No newline at end of file +.php-cs-fixer.cache +.phpunit.result.cache +coverage.xml \ No newline at end of file diff --git a/README.md b/README.md index 13b6de2..9a7f6e0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ ## RequestInputBundle -[![Test](https://github.com/sfmok/request-input/actions/workflows/php.yml/badge.svg)](https://github.com/sfmok/request-input/actions/workflows/php.yml) +[![CI](https://github.com/sfmok/request-input/actions/workflows/ci.yml/badge.svg)](https://github.com/sfmok/request-input/actions/workflows/ci.yml) +[![codecov](https://codecov.io/github/sfmok/request-input-bundle/branch/main/graph/badge.svg?token=9EDGRUPYCB)](https://codecov.io/github/sfmok/request-input-bundle) [![Latest Stable Version](http://poser.pugx.org/sfmok/request-input-bundle/v/stable)](https://packagist.org/packages/sfmok/request-input-bundle) [![License](http://poser.pugx.org/sfmok/request-input-bundle/license)](https://packagist.org/packages/sfmok/request-input-bundle) diff --git a/composer.json b/composer.json index f78f15e..89de4b8 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "symfony/property-access": "^5.4 || ^6.0" }, "require-dev": { - "phpunit/phpunit": "^9", + "phpunit/phpunit": "^9.5", "symfony/framework-bundle": "^5.4 || ^6.0", "phpspec/prophecy-phpunit": "^2.0", "friendsofphp/php-cs-fixer": "^3.13", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index e44f2a1..9cba74f 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,19 +1,17 @@ - - - ./tests - - - - - - . - - ./Resources - ./Tests - ./vendor - - - + + + . + + + ./tests + ./vendor + + + + + ./tests + +