-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PR: Improve usability of runtests locally and test output on the CIs #8123
Conversation
Hello @CAM-Gerlach! Thanks for submitting the PR.
|
It was removed in master because all plugins are now inside |
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.
@CAM-Gerlach, thanks for this. I only hope to not have big arguments about this because I don't have time for them.
Yes, I'm aware :)
Perhaps you misunderstand the intent of the relevant change. Removing the
It wouldn't make any sense to keep the coverage percentages for just the profiler while not having them for the rest of Spyder. However, if you have a rationale for why retaining them for Spyder as a whole in every CI report is necessary when we already have CodeCov, Coveralls and running it locally, then they would of course be retained as well. |
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.
I left some more comments. The difference between RUN_CI and run_slow is still confusing to me (as proposed in this PR).
Right, its understandably confusing since there is no difference in |
Thanks for the change @CAM-Gerlach! It looks much better now! However, please notice that without the |
0dd7b90
to
43b0a02
Compare
43b0a02
to
d0cff11
Compare
Thanks; good catch—I should have checked that. I added |
Yeah, that's fine 👍
Even better, I didn't know about that option. |
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.
Thanks @CAM-Gerlach!
Pull Request Checklist
modified the
spyder/defaults
directory, or added new icons/assetsDeveloper Certificate of Origin Affirmation
By submitting this Pull Request or typing my name below, I affirm the
I certify the above statement is true and correct: C.A.M. GerlachDeveloper Certificate of Origin
with respect to both the content of the contribution itself and this post,
and understand I am releasing it under Spyder's MIT (Expat) license.
Description of Changes
This PR does a few things to improve usability of both runtests locally (that have been bothering me and perhaps others for quite some time), as well as the CI reports for users developing both Spyder 3 and Spyder 4, and does a little opportunistic cleanup/refacotring of code that hasn't been touched between
3.x
andmaster
.Namely, it:
argparse
, as well as some user-friendly help text and error handling-x
option the default only on the CIs, so local users can see full test output without hackingruntests.py
and can still pass-x
or Ctrl-C the test cycle manually if they so desire3.x
/master
codeIt was made against
3.x
since both branches are still being actively developed, and thus the local and CI test output and runtests API would be inconsistent between them and have extra clutter. There should only be one small conflict—the Spyder profiler coverage stuff was removed, which was already removed inmaster
).