From 6c3d595c0b5337d262e084a408d6472d0de8f5ef Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Mon, 2 Mar 2020 13:25:14 +0000 Subject: [PATCH] coverage.xml --- .github/workflows/php.yml | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index d9fede21..3fb2f7b6 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -26,7 +26,7 @@ jobs: run: composer build - name: Coveralls - run: php vendor/bin/php-coveralls -v + run: php vendor/bin/php-coveralls -v --coverage-clover=coverage.xml env: COVERALLS_RUN_LOCALLY: 1 COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/composer.json b/composer.json index 83edc612..7ed17b9a 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "check-format": "php-cs-fixer fix --ansi --dry-run --diff", "format": "php-cs-fixer fix --ansi", "lint": "@php ./vendor/bin/parallel-lint --exclude vendor/ --exclude lib/block_random_int.php --exclude lib/array_column.php .", - "test": "DATABASE=sqlite ./vendor/bin/phpunit tests/", + "test": "DATABASE=sqlite ./vendor/bin/phpunit --coverage-clover ./coverage.xml tests/", "test-fixup": "mkdir -p templates_c ; test -f config.local.php || touch config.local.php", "psalm": "@php ./vendor/bin/psalm --no-cache --show-info=false " },