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

Add GitHub action workflow commands to CI output #4348

Closed
1 task done
SRGDamia1 opened this issue Jul 9, 2022 · 4 comments
Closed
1 task done

Add GitHub action workflow commands to CI output #4348

SRGDamia1 opened this issue Jul 9, 2022 · 4 comments

Comments

@SRGDamia1
Copy link

  • Feature Request

When looking at the results of continuous integration tests on GitHub actions, it would be amazing if the output could be grouped (ie, foldable) using the actions workflow commands. This would make it much easier to find the output from the environment that failed in the log.

To do this, the output would need to include a ::group::env_name line above the first "processing ..." line for each environment and another ::endgroup:: command at the bottom of the output for the environment. https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines

It would also be amazing if the summary table of the ci run at the end was sent to the GitHub action summary using the $GITHUB_STEP_SUMMARY feature. https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary

@ivankravets
Copy link
Member

@ivankravets ivankravets changed the title Feature request: Add GitHub action workflow commands to CI output Add GitHub action workflow commands to CI output Jul 11, 2022
@SRGDamia1
Copy link
Author

Thank you for pointing those out. Can the pio ci command also output the same XML form? I'm familiar with using GitHub actions to test for successful compilation for multiple boards, but I still haven't crossed the bridge into full unit testing.

@ivankravets
Copy link
Member

Can the pio ci command also output the same XML form?

No, it can't. Nevertheless, you create your own bash script that parses PlatformIO output and generates something that you need for GitHub.

@ivankravets
Copy link
Member

Please reopen if you still need help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants