-
Notifications
You must be signed in to change notification settings - Fork 6k
Add tests for admonitions #3523
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
Conversation
Bibo-Joshi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left two nitpicks, but the rest LGTM :) Nice follow-up PR!
harshil21
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great. Might I also suggest:
- Moving this test to
tests/docs/for better organization (and in spirit of #3420) - Running this test along with GH test documentation build, and excluding this test from the regular test workers.
Done. This is the first time I ever changed a GH action, but looks like it works :) |
Bibo-Joshi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you maybe add a README.md to tests/docs/ stating that
- that dir contains tests that cover our own scripting logic for the docs
- running
pytestusually doesn't include that due to the missingtest_prefix
?
Done |
…3515, #3523, #3498, #3529) Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com> Co-authored-by: Shivam Saini <51438830+shivamsn97@users.noreply.github.com> Co-authored-by: Aditya Yadav <adityayadav11082@gmail.com> Co-authored-by: Dmitry Kolomatskiy <58207913+lemontree210@users.noreply.github.com> Co-authored-by: Crsi <47722349+CrsiX@users.noreply.github.com> Co-authored-by: poolitzer <github@poolitzer.eu> Co-authored-by: Aditya <clot27@apx_managed.vanilla>
adds tests for functionality introduced in #3501 that resolved #3496
the tests are meant to only run in GH actions before building docs. They are not included in the main test suite, one of the reasons being that Python 3.9+ is required to run the admonition generator.