action-surefire-report icon indicating copy to clipboard operation
action-surefire-report copied to clipboard

Proper usage with matrix builds

Open kwin opened this issue 3 years ago • 1 comments

I have a Maven matrix build and some jdk/os variants expose errors. Still the overall report (only visible once) shows no failed tests. How do you set that up with matrix build? Should an approach like https://github.com/marketplace/actions/publish-unit-test-results#use-with-matrix-strategy be used?

kwin avatar Jun 16 '21 11:06 kwin

I don't think single report is enough to publish results of the same tests multiple times. For each build in the matrix, publish the test results and use unique name for the check. This will create multiple test result checks each having concrete build results from a single matrix job. Let me know if it works for you.

jmisur avatar Jun 24 '21 09:06 jmisur