question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use action for report generated by php-coveralls/php-coveralls

See original GitHub issue

I try to use this action for php project Report generated by php-coveralls/php-coveralls and has format xml I add

- name: Coveralls Parallel
      uses: coverallsapp/github-action@master
      with:
        github-token: ${{ secrets.github_token }}
        path-to-lcov: ./clover.xml

Step was failed with error 'error from lcovParse: ' 'Failed to parse string'

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:7
  • Comments:7

github_iconTop GitHub Comments

3reactions
ad-mcommented, Oct 22, 2019

Similar issue for Python.

2reactions
twinhcommented, Jun 14, 2020

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
Read more comments on GitHub >

github_iconTop Results From Across the Web

PHP - Coveralls Docs
This simple configuration will allow you to publish reports to Coveralls, be your build ran locally or on a CI system. CI SYSTEMS....
Read more >
Coveralls Coverage Reports · Codefresh | Docs
This section details how coverage reports can be generated and forwarded to Coveralls with every Codefresh build. Analysis reports displayed within ...
Read more >
Newest 'coveralls' Questions - Stack Overflow
I am building a GitHub action that uses coveralls to report the coverage. ... way to integrate coverage between a project with PHP...
Read more >
satooshi/php-coveralls | packagist via the Tidelift Subscription
Could not load video · Catalog-hero_1 satooshi/php-coveralls is a part of the Tidelift Subscription · Get a head start with the Tidelift catalog...
Read more >
php-coveralls - Bountysource
Context: · This requires telling coveralls that the reports are for a parallel build, and telling coveralls when it's finished. · phpunit doesn't...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found