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

CI: add Twine check in check workflow #5656

Merged
merged 2 commits into from
Oct 3, 2022
Merged

Conversation

armujahid
Copy link
Contributor

Closes: #5655

@armujahid
Copy link
Contributor Author

run: |
pip install twine
python setup.py sdist
twine check dist/*
Copy link
Member

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?

Copy link
Member

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.

Copy link
Contributor Author

@armujahid armujahid Oct 2, 2022

Choose a reason for hiding this comment

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

Copy link
Member

@kmike kmike left a comment

Choose a reason for hiding this comment

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

👍 Thanks @armujahid!

@codecov
Copy link

codecov bot commented Oct 2, 2022

Codecov Report

Merging #5656 (69bf5c6) into master (1445ebd) will decrease coverage by 0.14%.
The diff coverage is n/a.

@@            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     
Impacted Files Coverage Δ
scrapy/robotstxt.py 75.30% <0.00%> (-22.23%) ⬇️
scrapy/core/downloader/__init__.py 92.48% <0.00%> (+1.50%) ⬆️

@armujahid
Copy link
Contributor Author

Windows/tests CI errors are unrelated

@wRAR wRAR merged commit 2d1c055 into scrapy:master Oct 3, 2022
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.

Add twine check to CI
3 participants