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

fix missing block when there is no failure #18775

Merged
merged 1 commit into from
Aug 29, 2022
Merged

Conversation

ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Aug 26, 2022

What does this PR do?

Currently, when doc test has no failure, we don't see anything other than 🤗 Results of the doc tests. in slack report.
This is because the block defined in no_failures property is not included in def payload, as the condition self.no_failures == 0 should be self.n_failures == 0.

@ydshieh
Copy link
Collaborator Author

ydshieh commented Aug 26, 2022

@amyeroberts request you as a reviewer just in case you want to take a look.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Aug 26, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

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

Thanks!

@ydshieh ydshieh merged commit 5f06a09 into main Aug 29, 2022
@ydshieh ydshieh deleted the fix_doctest_slack_report branch August 29, 2022 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants