-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use action for report generated by php-coveralls/php-coveralls #15
Comments
@nickmerwin, can you answer me? |
Similar issue for Python. |
For PHP, you can try https://github.com/cedx/coveralls.php Example on GitHub Actions: - name: Upload coverage results to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer global require cedx/coveralls
coveralls build/logs/phpunit/clover.xml |
Would be nice to also have at least xml support. |
I think this is what this issue is about. Clover XML format support. |
In my case it is |
Hello, for PHP, You may try this: https://github.com/twinh/php-coveralls#github-actions Add a new step after phpunit generate coverage report. - name: Upload coverage results to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer global require twinh/php-coveralls
php-coveralls --coverage_clover=build/logs/clover.xml -v |
…port xml or sqlite output from pytest-cov (see: coverallsapp/github-action#15)
I try to use this action for php project
Report generated by php-coveralls/php-coveralls and has format xml
I add
Step was failed with error
'error from lcovParse: ' 'Failed to parse string'
The text was updated successfully, but these errors were encountered: