EnricoMi / publish-unit-test-result-action

GitHub Action to publish unit test results on GitHub
Apache License 2.0
615 stars 184 forks source link

Annotations are reported at line 0 and therefore are not display correctly. #591

Closed SoggyBottomBoy closed 6 months ago

SoggyBottomBoy commented 6 months ago

I'm unsure of the exact behavior to expect, but annotations appear to always be set at line 0 meaning they do not show up on the file. Is this intended?

image

Clicking see this annotation in the file changed doesn't actually display it. But maybe this is the intent? The file I changed caused the test to fail whilst the annotation appears to refer to the test file, because the test file was not changed it is not part of the commit.

EnricoMi commented 6 months ago

Can you confirm the trx file contains line information?

SoggyBottomBoy commented 6 months ago

Ah no it appears your correct, line information is not contained within trx files.

EnricoMi commented 6 months ago

Looks like there is nothing the action can do about this then. Please reopen if needed.