-
Notifications
You must be signed in to change notification settings - Fork 10.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
CI: add Twine check in check workflow #5656
Conversation
Working action can be checked at https://github.com/armujahid/scrapy/actions/runs/3168893838/jobs/5160421545 |
.github/workflows/checks.yml
Outdated
run: | | ||
pip install twine | ||
python setup.py sdist | ||
twine check dist/* |
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.
Could you please move this check to tox.ini, similar to other checks?
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.
Currently this check would be run 5 times on CI, for flake8, typing, docs, etc. tox environments. We should make it a separate tox env, and run this env on CI, similar to how others are executed.
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.
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 @armujahid!
Codecov Report
@@ Coverage Diff @@
## master #5656 +/- ##
==========================================
- Coverage 88.83% 88.69% -0.15%
==========================================
Files 162 162
Lines 10964 10964
Branches 1894 1644 -250
==========================================
- Hits 9740 9724 -16
- Misses 943 960 +17
+ Partials 281 280 -1
|
Windows/tests CI errors are unrelated |
Closes: #5655