In your .github.workflows
folder include a workflow.yml
file include a step to push to Testhub.
For example
- name: Upload test results
if: always() # make sure we run it every time even if test step fails
uses: testhub-io/[email protected]
with:
test_result_pattern: "/target/surefire-reports/**/*.xml"
test_coverage_pattern: "/target/site/jacoco/jacoco.xml"
Test results and coverages can be viewed after successful push on TestHub @ https://test-hub.io/<org>
The code in this project is released under the MIT License.