diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 0afec35..84d2d88 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -53,7 +53,7 @@ jobs: # Run PHPUnit - name: Run PHPUnit - run: ./vendor/bin/phpunit --coverage-text + run: XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-clover coverage.xml # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" # Docs: https://getcomposer.org/doc/articles/scripts.md