dorny / test-reporter

Displays test results from popular testing frameworks directly in GitHub
MIT License
813 stars 205 forks source link

Test reports being attached to wrong workflow #224

Open pshirshov opened 1 year ago

pshirshov commented 1 year ago

I have a repo with two workflows.

This workflow invoked the test reporter: https://github.com/zio/izumi-reflect/actions/runs/3857696050

Though the artifacts were attached to irrelevant workflow: https://github.com/zio/izumi-reflect/actions/runs/3857696046

Please fix.

timcassell commented 1 year ago

I have also noticed this. I have multiple workflows using test-reporter, and they all get attached to the same single workflow.

flobernd commented 1 year ago

https://github.com/dorny/test-reporter#github-limitations

Check Runs are created for specific commit SHA. It's not possible to specify under which workflow test report should belong if more workflows are running for the same SHA. Thanks to this GitHub "feature" it's possible your test report will appear in an unexpected place in GitHub UI. For more information, see https://github.com/dorny/test-reporter/issues/67.

pshirshov commented 1 year ago

Eh, shite. I guess we should create an issue in gh tracker and mass-vote it.

JWilh commented 1 year ago

Eh, shite. I guess we should create an issue in gh tracker and mass-vote it.

@pshirshov Have you already created an issue for the gh tracker? 😀

BenjaminYde commented 1 year ago

This is still an issue... We invoked this behaviour in the following steps: