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

Easier-to-browse logs in CI #205

Closed
epage opened this issue Sep 6, 2023 · 1 comment · Fixed by #206
Closed

Easier-to-browse logs in CI #205

epage opened this issue Sep 6, 2023 · 1 comment · Fixed by #206
Labels
C-enhancement Category: A new feature or an improvement for an existing one

Comments

@epage
Copy link
Contributor

epage commented Sep 6, 2023

Modern CIs group all of the output for a command, making it easy to see cause-and-affect but this breaks down when there are "do everything" commands.

Some CI systems support special output directives so commands can provide their own grouping, e.g. github. I feel like detecting a CI system and emitting these directives would improve the experience of using cargo-hack.

Downsides

  • Piecemeal support for different CI systems as they implement it and cargo-hack supports it
  • Raw logs will have extra chatter
@taiki-e taiki-e added the C-enhancement Category: A new feature or an improvement for an existing one label Sep 6, 2023
@taiki-e
Copy link
Owner

taiki-e commented Sep 6, 2023

Thanks for the suggestion! I've experimented with this in #206, and it looks great.

https://github.com/taiki-e/cargo-hack/actions/runs/6098364195/job/16548664583#step:7:25

ss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: A new feature or an improvement for an existing one
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants