-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Not running clipboard examples in the doc #26700
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
Yes, this is a good idea:-) But, I think we should still be careful about the actual underlying issues though. The fact that this was not working for the docs, might be an indication that we are actually not running any tests for clipboard on azure. |
How is this related to #26685 ? |
Sorry, it was supposed to be #26103, github autocomplete does weird things when you copy/paste issues. Agree on the tests, the skipping when a dependency is missing is quite dangerous. Do you want to open an issue for it? Or I can do it. |
There is #26428 for the general discussion (not specific to the clipboard tests, but triggered by it). |
Codecov Report
@@ Coverage Diff @@
## master #26700 +/- ##
==========================================
- Coverage 91.88% 91.87% -0.01%
==========================================
Files 174 174
Lines 50701 50701
==========================================
- Hits 46588 46584 -4
- Misses 4113 4117 +4
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #26700 +/- ##
==========================================
- Coverage 91.88% 91.87% -0.01%
==========================================
Files 174 174
Lines 50701 50701
==========================================
- Hits 46588 46584 -4
- Misses 4113 4117 +4
Continue to review full report at Codecov.
|
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.
lgtm
I am still wary that these tests are not running, why not have the docs fail if these are not building? rather than paper this over? |
I agree that we can be skipping those tests unintentionally, but I don't think that the doc warnings is how we should know. And the job and dependencies for the docs is not the same as for the tests, so we can be correctly executing the I think the |
@datapythonista that's not the question that I had. We have not been testing the clipboard tests for quite some time AND DIDN't KNOW this. (because the config was not correct) The docs are IMHO a last resort at least someone notices. |
Let's close this then. But as I said, the docs build and the tests builds are independent. Seeing the warning in the docs don't mean that the tests are skipped, and not seeing it doesn't mean that they are being run. I think what I propose would make sure that we run them when we want, but I guess I'm not understanding you. |
I would recommend dedicated pytest calls on CI jobs where we know the clipboard tests should be run. I imagine we can use some pytest wizardry to select just the clipboard tests and fail if they are skipped.
… On Jun 8, 2019, at 18:07, Marc Garcia ***@***.***> wrote:
Closed #26700.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
git diff upstream/master -u -- "*.py" | flake8 --diff
The clipboard example in the docs is failing when building in azure (#26648), and had to be previously fixed in travis (#26103). I don't think there is any need to run those examples, and we can keep things simpler. This adds the same value to the doc reader, and doesn't require to set up a clipboard service in the doc builds. Also, we're thinking on having a doc build for windows (#26574) not sure if that could cause new problems.
CC: @jorisvandenbossche