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

Use group status to report exit code #41

Merged
merged 2 commits into from
Jan 28, 2022
Merged

Use group status to report exit code #41

merged 2 commits into from
Jan 28, 2022

Conversation

oltrep
Copy link
Contributor

@oltrep oltrep commented Jan 27, 2022

A quick fix to correctly report exit code for long process runs.

@github-actions
Copy link

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@oltrep oltrep requested a review from ZoteTheMighty January 27, 2022 15:10
Copy link
Contributor

@ZoteTheMighty ZoteTheMighty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this testable with the new integration test structure?

@oltrep
Copy link
Contributor Author

oltrep commented Jan 27, 2022

Not really, because I would need to install a real tool and call it to see if it returns the correct exit code. That would not test exactly the fix here, but more the behavior in general.

@ZoteTheMighty
Copy link
Contributor

Not really, because I would need to install a real tool and call it to see if it returns the correct exit code. That would not test exactly the fix here, but more the behavior in general.

Would it be possible to do this via a shell script that exits with an error or something else super simple, or would that be clumsy to set up?

Copy link
Contributor

@ZoteTheMighty ZoteTheMighty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had one other suggestion, but if I'm missing something about what makes this awkward to test, the actual details look fine to me.

@oltrep oltrep merged commit 7a037d9 into master Jan 28, 2022
@oltrep oltrep deleted the group-status-fix branch January 28, 2022 22:41
@github-actions github-actions bot locked and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants