New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I generate two separate test results for two consecutive workflows? #127
Comments
Try to give a different title in the title parameter of each xcresulttool step. If that doesn't fix the problem, I think it's my bug. I'm not familiar with GitHub Actions, so I'm not sure if I can fix it. |
Thanks, let me try that |
Didn't work, still got overwritten |
Can you share your yml file and the result? Is it an open source project? |
No its not an open source project. However, I will share maximum possible info In
In
The result would vary on which of these workflows finishes first. If |
I would like to reproduce the problem. Are these two workflows executed as one action instead of being executed as independent actions? What kind of triggers are you setting? |
Two separate actions |
I'm encountering the same problem. Two different workflows run in parallel (unit tests and UI tests) and the results of one get overwritten by the other. It also seems interesting that the test results show up in the wrong workflow, which might be the problem. My repo has 4 different workflows:
Lint finishes first, Documentation second. When the Unit Tests complete, and the xcresulttool results are processed, the new job that xcresulttool creates ends up being attached to the Documentation workflow, instead of the Unit Test one. This might shed some light on the root cause of this problem. |
This is also happening for our project. When I kick off two workflows at similar times that both have xcresulttool stages only one result is processed if they end near the same time. If the work flows end at very different times both reports show up. Using unique resultBundlePath / path attributes and unique titles for the different workflows seems to have no effect. Do you have any other suggestions to try? |
I have two consecutive workflows where in the UI tests scheme and Unit tests scheme are run in parallel. Instead of having two separate reports I'm getting a single report. That is I'm getting the first report from the first workflow that completes, but then it gets overwritten by the second workflow when that completes. Is it how its supposed to work or am I missing anything?
The text was updated successfully, but these errors were encountered: