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

Fail workflows if the unit test reports have failures #560

Merged
merged 1 commit into from
May 11, 2021

Conversation

devinrsmith
Copy link
Member

@devinrsmith devinrsmith commented May 10, 2021

Right now, we are relying on our publishing side to post failure annotations instead of the actual wokrflow itself failing out. The actual workflow failing is much preferred, as we have badges for them, and it provides more immediate and true feedback to the PRs.

@devinrsmith devinrsmith force-pushed the fail-on-xml-failures branch from 4ea7325 to ff658db Compare May 11, 2021 11:28
@devinrsmith
Copy link
Member Author

Here's an example where the check ci was failed on purpose: https://github.com/deephaven/deephaven-core/pull/560/checks?check_run_id=2555141729 - the new script caught the XML failure.

@devinrsmith devinrsmith force-pushed the fail-on-xml-failures branch from 47c3ef3 to ff658db Compare May 11, 2021 11:38
@devinrsmith devinrsmith marked this pull request as ready for review May 11, 2021 11:38
@devinrsmith devinrsmith requested a review from rcaudy May 11, 2021 11:39
Copy link
Member

@rcaudy rcaudy left a comment

Choose a reason for hiding this comment

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

I assume you treated the bash script on some real logs. If so, good to merge.

@devinrsmith devinrsmith merged commit d1656f0 into deephaven:main May 11, 2021
@devinrsmith devinrsmith deleted the fail-on-xml-failures branch May 11, 2021 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants