Log group multiplexing

I’d like to use tox parallel, but it outputs multiple tool logs in parallel to stderr. I’d like to be able to multiplex the log lines to multiple folding groups, eg tox could write the logs to a file or named pipe, or prefix each message with the group

Hi @graingert,

Do you use tox in github action workflow? Github supports to group log lines with below code:

echo "::group::my title"   
echo "::endgroup::"

Please check the link for more details:


thanks, as far as I can tell grouping doesn’t work with parallel output?

Hi @graingert,

Thanks for your reply!

How do you set the parallel output? Could you please share your repo or a sample repo?

I use tox --parallel-live

@weide-zhou here’s a build with parallel output https://github.com/twisted/ldaptor/runs/1205728509#step:13:3521

as you can see the output of each build is interleaved. I want to be able to see each job as it progresses

Hi @graingert,

Thanks for your reply!

I checked your tox command, it’s NOT supported to group the log from Github actions aspect in the case, since the output of workflow should be same with your enviornment.

The output is always interleaved in the same way for every environment

I could emit a ::group- for every line to allow GitHub actions to demultiplex the output into multiple separate live groups. But it requires a new feature to be developed