Closed RehanSaeed closed 1 year ago
@ethomson How does this look?
Thanks for the fix and the useful tests. There were some conflicts, so I merged this manually.
I've just tried out the new v2.1
release that includes this fix, but I think there is another case not catered for here.
For Go based projects we use go-junit-report to transform the testing output into JUnit. If a project doesn't have any tests, the output ends up as the following:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites></testsuites>
I suspect this is because Go doesn't support self closing XML tags. Regardless, the above output still triggers the error unknown test file type for 'results.xml'
. @RehanSaeed would it be possible to also cater for this case?
Fixes https://github.com/test-summary/action/issues/19