-
Notifications
You must be signed in to change notification settings - Fork 351
Grouping test output by Bundle in Github Actions #7920
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
Conversation
8a1a27a
to
217f67c
Compare
217f67c
to
9645fe3
Compare
The output should only occur on CI, so we should add an Environment variable and check for it. |
env: | ||
IS_GITHUB_ACTION: 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would more go with explicit name like CI_GROUP_OUTPUT=1
else we would not require to define an own variable as I think github would always set GITHUB_ACTIONS=true
: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables
I'm fine with both changes.
cced545
to
e421ff3
Compare
@alexander-schranz Looks weird with the true, but still works. |
e421ff3
to
dde5379
Compare
} | ||
echo "\n"; | ||
|
||
if (false === $input->getOption('no-component-tests') || $input->getOption('all')) { | ||
write_header('Components'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mamazu we should put the components also into an own collapsed group, else its a little bit confusing currently.
What's in this PR?
Why?
With the amount of output the tests produce you have to scroll a lot when the first components fail. And the search isn't helping 'cause it only sometimes works.
This way you can just expand the section(s) that are broken.