I did it!
- Designate a team bot in the yaml settings at Codecov. Either global or for the repository.
codecov:
bot: olillin- Config GitHub Actions workflow with Gradle Build Action and Codecov actions. See the workflow file
- Configure build.gradle to generate coverage reports using JaCoCo.
- Run
git update-index --chmod=+x gradlewto makegradlewrunnable by GitHub Actions and avoidError: Gradle script '/home/runner/**/gradlew' is not executable. - Get badge/shield from https://app.codecov.io/gh/olillin/CI-Test/settings/badge. Alternatively https://shields.io/category/coverage