Closed jabolina closed 10 months ago
OK, the action is working. Once we have a test failure, we check if the report generation and upload steps are correct.
At some point it would be nice to have a maven only build of the manual, rather than having to use ant-run.
I am opening a PR because of the changes to the action script so it can run before merging.
We have roughly equivalents of the previous tasks.
Use
mvn clean compile -Pmanual
to generate the manual. This will not run the tests by default. Usemvn surefire-report:report-only
to generate the report after running the tests. This uses the surefire-plugin, so the HTML looks different. The other option would be to utilize AntRun and add the jar for thejunitreport
task.I also updated the scripts to default to the Maven build, and the GH action script to generate and upload the reports in case of test failures.
Closes #242.