Hiero Basics #
common tasks
Run all the code coverage tests.
./gradlew testCodeCoverageReport
Load the code coverage reports into the browser
npx http-server gradle/aggregation/build/reports/jacoco/testCodeCoverageReport/html
# or
open gradle/aggregation/build/reports/jacoco/testCodeCoverageReport/html/index.html
Run the quality gate to do any necessary reformatting
./gradlew qualityGate
If you have trouble with CI failing but your local build isn't, try updating from main and then run a clean build locally with:
./gradlew clean --no-daemon --no-build-cache --no-configuration-cache
./gradlew checkAllModuleInfo --no-daemon --no-build-cache --no-configuration-cache
Before committing make sure
- GPG signing is set up
- commit sign-off is set up
./gradlew testCodeCoverageReportpasses./gradlew qualityGatepasses
If GPG signing was working and stops suddenly, it's probably because the ssh-agent
has stopped. Run ssh-agent to restart it.