zerocode icon indicating copy to clipboard operation
zerocode copied to clipboard

Configure GitHub Actions YAML for code-coverage report

Open authorjapps opened this issue 7 years ago • 6 comments

Display code-coverage report by integrating with travis.yaml file. See here sample: https://github.com/TechnionYP5777/SmartCity-Market/wiki/Integrating-Codecov-with-a-GitHub-project-(Coverage-tool) It's free for OS.

authorjapps avatar Mar 25 '18 14:03 authorjapps

Is this still open? If then I can provide some contribution

santhoshTpixler avatar Dec 26 '18 15:12 santhoshTpixler

Yes, Still open. What need from the ticket is a badge, by clicking which will take the viewers to the code coverage page showing %age coverage.

A badge will look like below

Some tools give it for free:

  • https://codecov.io/
  • https://coveralls.io

Some examples are here might be useful-

  • https://github.com/codecov/example-java-maven/blob/master/.travis.yml#L4
  • https://github.com/codecov/example-java
  • This gives using Maven or Jacoco config etc
    • https://docs.codecov.io/docs/supported-languages

Some work was done here using "codecov.io/" in PR https://github.com/authorjapps/zerocode/pull/119 , but not completed.

authorjapps avatar Dec 26 '18 17:12 authorjapps

Tested Coverage reports of the santhoshtpixler/zerocode can be viewed at https://sonarcloud.io/dashboard?id=org.jsmart%3Azerocode-rest-bdd

exclusion and few more tweaks can be done once @authorjapps integrates it in his account.

santhoshTpixler avatar Jan 17 '19 01:01 santhoshTpixler

Readme example https://github.com/authorjapps/zerocode/blob/ISS-58-sonarqube/README.md

santhoshTpixler avatar Jan 17 '19 01:01 santhoshTpixler

exclusion and few more tweaks can be done once @authorjapps integrates it in his account.

@authorjapps Let's complete it before proceeding with other merges into master

santhoshTpixler avatar Jan 19 '19 13:01 santhoshTpixler

I think it's worth checking if GitHub Actions provides any mechanism, then we can switch to that. Updated the subject.

authorjapps avatar Jul 17 '20 10:07 authorjapps