mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
Merge pull request #2026 from nelmio/GuilhemN-patch-1
Compute coverage with PHPUnit
This commit is contained in:
commit
a17ad38cc8
6
.github/workflows/continuous-integration.yml
vendored
6
.github/workflows/continuous-integration.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
php-version: "${{ matrix.php-version }}"
|
php-version: "${{ matrix.php-version }}"
|
||||||
tools: composer
|
tools: composer
|
||||||
coverage: "none"
|
coverage: pcov
|
||||||
|
|
||||||
- name: Get composer cache directory
|
- name: Get composer cache directory
|
||||||
id: composercache
|
id: composercache
|
||||||
@ -78,5 +78,5 @@ jobs:
|
|||||||
composer global require --no-progress --no-scripts --no-plugins symfony/flex
|
composer global require --no-progress --no-scripts --no-plugins symfony/flex
|
||||||
composer update --no-interaction --no-progress ${{ matrix.composer-flags }}
|
composer update --no-interaction --no-progress ${{ matrix.composer-flags }}
|
||||||
|
|
||||||
- name: "Run PHPUnit"
|
- name: PHPUnit Tests
|
||||||
run: "./phpunit"
|
run: vendor/bin/simple-phpunit --configuration phpunit.xml.dist --coverage-text
|
||||||
|
@ -37,7 +37,6 @@ use PHPUnit\Framework\TestCase;
|
|||||||
* @covers \Nelmio\ApiDocBundle\OpenApiPhp\Util::mergeTyped
|
* @covers \Nelmio\ApiDocBundle\OpenApiPhp\Util::mergeTyped
|
||||||
* @covers \Nelmio\ApiDocBundle\OpenApiPhp\Util::mergeProperty
|
* @covers \Nelmio\ApiDocBundle\OpenApiPhp\Util::mergeProperty
|
||||||
* @covers \Nelmio\ApiDocBundle\OpenApiPhp\Util::getNestingIndexes
|
* @covers \Nelmio\ApiDocBundle\OpenApiPhp\Util::getNestingIndexes
|
||||||
* @covers \Nelmio\ApiDocBundle\OpenApiPhp\Util::getNesting
|
|
||||||
*/
|
*/
|
||||||
class UtilTest extends TestCase
|
class UtilTest extends TestCase
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user