tox-gh-actions
tox-gh-actions copied to clipboard
Individual steps for environments
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?
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.
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.
This situation has improved slightly in #36. We now groups logs from each environment using GitHub Actions' feature.