From 38104847e5002e0807e78109d2d698dbf3716463 Mon Sep 17 00:00:00 2001 From: Maxym Denysenko Date: Fri, 28 Feb 2020 16:45:18 +0200 Subject: [PATCH] Update actions --- .coveralls.yml | 2 +- .github/workflows/php.yml | 6 +++ coverage.xml | 99 --------------------------------------- 3 files changed, 7 insertions(+), 100 deletions(-) delete mode 100644 coverage.xml diff --git a/.coveralls.yml b/.coveralls.yml index 9eeb628..5071131 100644 --- a/.coveralls.yml +++ b/.coveralls.yml @@ -1,3 +1,3 @@ service_name: travis-ci coverage_clover: coverage.xml # file generated by phpunit -json_path: coverage.json # file generated by php-coveralls \ No newline at end of file +json_path: coverage.json \ No newline at end of file diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 471c57e..5e3fb0c 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -24,3 +24,9 @@ jobs: - name: Tests coverage run: vendor/phpunit/phpunit/phpunit --configuration tests/phpunit/phpunit.xml --coverage-clover coverage.xml + + - name: Send to coveralls + run: php vendor/bin/php-coveralls -v + env: + COVERALLS_RUN_LOCALLY: 1 + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/coverage.xml b/coverage.xml deleted file mode 100644 index cb964f1..0000000 --- a/coverage.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -