tox-gh-actions icon indicating copy to clipboard operation
tox-gh-actions copied to clipboard

Individual steps for environments

Open postlund opened this issue 5 years ago • 3 comments

This is more of a technical question, but would it be possible to present each environment in tox as a separate step in Actions? I have several environments for various things (documentation, tests, generated code, etc.) and if one of them fails, it's just presented as "tox failed" and I have to dig through the log to find what actually failed. Would be very neat if every environment got its own step. Not sure what is possible with the Actions API, but I almost assume this is not possible?

postlund avatar Apr 16 '20 06:04 postlund

Sorry for the slow response. I'm not sure if there's an API we can split the steps from the code executed by GitHub Actions.

ymyzk avatar May 18 '20 14:05 ymyzk

No worries! I suspect that it's not possible, but just had to ask. Took a middle way and run with tox -q -p auto, which runs multiple threads in tox and produces a lot less output. So that somewhat gives me what I want.

postlund avatar May 18 '20 18:05 postlund

This situation has improved slightly in #36. We now groups logs from each environment using GitHub Actions' feature.

ymyzk avatar Oct 04 '20 09:10 ymyzk