zyborg / pester-tests-report

GitHub Action to run Pester tests and generate report attached to Workflow Run
MIT License
40 stars 13 forks source link

Publishing to wrong workflow when multiple workflows runs #13

Closed sergey-s-betke closed 2 years ago

sergey-s-betke commented 2 years ago

Publishing to wrong workflow when multiple workflows runs (see https://github.com/test-st-petersburg/DocTemplates/runs/3996015802 - all tests results from Test workflow, not from Static Scan).

ebekker commented 2 years ago

Unfortunately this isn't anything that can be controlled at this time, the GitHub API for workflows and runs doesn't allow you target a specific workflow, so if there are multiple that are kicked off during a single run, which one gets the test results is sorta random. For better predictability, I suggest producing Gist-based reports instead.