Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,4 @@ jobs:
mkdir -p build/logs
phpunit --configuration phpunit.xml --coverage-clover build/logs/clover.xml --debug
env:
XDEBUG_MODE: coverage

# Шаг 9: Отправка данных о покрытии в Coveralls
- name: Send coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: build/logs/clover.xml
XDEBUG_MODE: coverage
4 changes: 2 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
cacheDirectory=".phpunit.cache">
<coverage>
<report>
<!-- <clover outputFile="tests/build/logs/clover.xml"/>
<clover outputFile="tests/build/logs/clover.xml"/>
<html outputDirectory="tests/build/coverage"/>
<text outputFile="tests/build/coverage.txt"/> -->
<text outputFile="tests/build/coverage.txt"/>
</report>
</coverage>
<testsuites>
Expand Down
Loading