action
action copied to clipboard
`unknown test file type` error thrown
I have a .NET framework project with unit tests running with NUnit. It generates a test result file as NUnitResults.xml. In my GitHub workflow file I have a step for test-summary after running the tests as follows -
- name: Test Summary
uses: test-summary/[email protected]
if: always()
with:
paths: "./NUnitResults.xml"
But this steps throws an error as unknown test file type for './NUnitResults.xml'
Are NUnit Test Results not supported by this action yet?
Not yet - but in the meantime, you can use JunitXml.TestLogger.
There's an example here: https://github.com/test-summary/examples/tree/main/dotnet