carnival-data / carnival

JVM property graph data unification framework
https://carnival-data.github.io/carnival/
GNU General Public License v3.0
7 stars 2 forks source link

Coveralls code coverage reports #18

Closed hjwilli closed 4 years ago

hjwilli commented 4 years ago

Add code coverage to current groovy reporting. Generate aggregated code coverage report across all subproject Integrate code coverage with travis and with coveralls.

For reference, see: https://lkrnac.net/blog/2016/10/aggregate-test-coverage-report/ https://gist.github.com/aalmiray/e6f54aa4b3803be0bcac https://github.com/csMACnz/coveralls.net/issues/88

hjwilli commented 4 years ago

When running coveralls publishing from within a docker container, need to pass the env variable COVERALLS_REPO_TOKEN. Setting it as travis environment variable and passing it through the docker run... command executed by travis.

https://github.com/kt3k/coveralls-gradle-plugin/issues/55

hjwilli commented 4 years ago

Success! Travis builds from the main branch now successfully push code coverage reports to coveralls. Main page has been badged.