Skip to content

Commit

Permalink
馃挌 Fix coverall analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
Th3Mouk committed Oct 28, 2021
1 parent e191b69 commit 7ee261d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
coverage: xdebug
coverage: pcov

- name: Get Composer Cache Directory
id: composer-cache
Expand All @@ -37,3 +37,10 @@ jobs:

- name: PHPUnit
run: vendor/bin/phpunit

- name: Upload coverage results to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer global require php-coveralls/php-coveralls
php-coveralls -v
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<logging>
<!-- <log type="coverage-html" target="./tmp/report" lowUpperBound="50"-->
<!-- highLowerBound="75"/>-->
<log type="coverage-clover" target="/tmp/coverage.xml"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<!-- <log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/>-->
</logging>
</phpunit>

0 comments on commit 7ee261d

Please sign in to comment.