Skip to content
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

Enable log line grouping for more logs #39

Open
ymyzk opened this issue Oct 11, 2020 · 0 comments
Open

Enable log line grouping for more logs #39

ymyzk opened this issue Oct 11, 2020 · 0 comments

Comments

@ymyzk
Copy link
Owner

ymyzk commented Oct 11, 2020

It's nice to group log lines such as "installdeps" other than "run-test" but this is a bit tricky due to some technical difficulties. Things need to consider:


Current Behavior

$ tox -e flake8
GLOB sdist-make: /Users/yusuke/Development/github.com/ymyzk/tox-gh-actions/tox-gh-actions-test/setup.py
flake8 create: /Users/yusuke/Development/github.com/ymyzk/tox-gh-actions/tox-gh-actions-test/.tox/flake8
flake8 installdeps: flake8
flake8 inst: /Users/yusuke/Development/github.com/ymyzk/tox-gh-actions/tox-gh-actions-test/.tox/.tmp/package/1/UNKNOWN-0.0.0.zip
flake8 installed: flake8==3.9.2,mccabe==0.6.1,pycodestyle==2.7.0,pyflakes==2.3.1,UNKNOWN @ file:///Users/yusuke/Development/github.com/ymyzk/tox-gh-actions/tox-gh-actions-test/.tox/.tmp/package/1/UNKNOWN-0.0.0.zip
::group::tox: flake8
flake8 run-test-pre: PYTHONHASHSEED='3474553861'
flake8 run-test: commands[0] | flake8 setup.py
::endgroup::
________________________________________________________________________________________ summary ________________________________________________________________________________________
  flake8: commands succeeded
  congratulations :)
$ tox -e flake8                                                                                                                                                        -? (git)-[master]
GLOB sdist-make: /Users/yusuke/Development/github.com/ymyzk/tox-gh-actions/tox-gh-actions-test/setup.py
flake8 inst-nodeps: /Users/yusuke/Development/github.com/ymyzk/tox-gh-actions/tox-gh-actions-test/.tox/.tmp/package/1/UNKNOWN-0.0.0.zip
flake8 installed: flake8==3.9.2,mccabe==0.6.1,pycodestyle==2.7.0,pyflakes==2.3.1,UNKNOWN @ file:///Users/yusuke/Development/github.com/ymyzk/tox-gh-actions/tox-gh-actions-test/.tox/.tmp/package/1/UNKNOWN-0.0.0.zip
::group::tox: flake8
flake8 run-test-pre: PYTHONHASHSEED='4256965523'
flake8 run-test: commands[0] | flake8 setup.py
::endgroup::
________________________________________________________________________________________ summary ________________________________________________________________________________________
  flake8: commands succeeded
  congratulations :)

Expected Behavior

$ tox -e flake8
GLOB sdist-make: /Users/yusuke/Development/github.com/ymyzk/tox-gh-actions/tox-gh-actions-test/setup.py
::group::tox: flake8
flake8 create: /Users/yusuke/Development/github.com/ymyzk/tox-gh-actions/tox-gh-actions-test/.tox/flake8
flake8 installdeps: flake8
flake8 inst: /Users/yusuke/Development/github.com/ymyzk/tox-gh-actions/tox-gh-actions-test/.tox/.tmp/package/1/UNKNOWN-0.0.0.zip
flake8 installed: flake8==3.9.2,mccabe==0.6.1,pycodestyle==2.7.0,pyflakes==2.3.1,UNKNOWN @ file:///Users/yusuke/Development/github.com/ymyzk/tox-gh-actions/tox-gh-actions-test/.tox/.tmp/package/1/UNKNOWN-0.0.0.zip
flake8 run-test-pre: PYTHONHASHSEED='3474553861'
flake8 run-test: commands[0] | flake8 setup.py
::endgroup::
________________________________________________________________________________________ summary ________________________________________________________________________________________
  flake8: commands succeeded
  congratulations :)
$ tox -e flake8                                                                                                                                                        -? (git)-[master]
GLOB sdist-make: /Users/yusuke/Development/github.com/ymyzk/tox-gh-actions/tox-gh-actions-test/setup.py
::group::tox: flake8
flake8 inst-nodeps: /Users/yusuke/Development/github.com/ymyzk/tox-gh-actions/tox-gh-actions-test/.tox/.tmp/package/1/UNKNOWN-0.0.0.zip
flake8 installed: flake8==3.9.2,mccabe==0.6.1,pycodestyle==2.7.0,pyflakes==2.3.1,UNKNOWN @ file:///Users/yusuke/Development/github.com/ymyzk/tox-gh-actions/tox-gh-actions-test/.tox/.tmp/package/1/UNKNOWN-0.0.0.zip
flake8 run-test-pre: PYTHONHASHSEED='4256965523'
flake8 run-test: commands[0] | flake8 setup.py
::endgroup::
________________________________________________________________________________________ summary ________________________________________________________________________________________
  flake8: commands succeeded
  congratulations :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant