adoroszlai opened a new pull request #1072:
URL: https://github.com/apache/hadoop-ozone/pull/1072


   ## What changes were proposed in this pull request?
   
   `coverage-report.sh` is currently GitHub-specific, but can be fixed to work 
locally by a minor change in where it looks for `jacoco-combined.exec` files.
   
   Also rename to `coverage.sh` and relocate to the common `checks` directory, 
since it's no longer GitHub-specific.
   
   https://issues.apache.org/jira/browse/HDDS-3796
   
   ## How was this patch tested?
   
   Verified that `coverage.sh` works fine locally after a complete build and 
running some tests:
   
   ```
   mvn -Dskip.npx -Dskip.installnpx -DskipShade clean package
   hadoop-ozone/dev-support/checks/unit.sh -DfailIfNoTests=false 
-Dtest='TestConfigFileAppender,TestOzoneConfiguration'
   hadoop-ozone/dev-support/checks/coverage.sh
   open target/coverage/all/org.apache.hadoop.hdds.conf/index.html
   ```
   
   Verified that coverage check is OK in post-commit:
   https://github.com/adoroszlai/hadoop-ozone/runs/767705840
   
   and that it uploaded data to codecov.io:
   https://codecov.io/gh/adoroszlai/hadoop-ozone/branch/HDDS-3796


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to