Merge pull request #5656 from armujahid/twinecheck

CI: add Twine check in check workflow
This commit is contained in:
Andrey Rahmatullin 2022-10-03 17:00:35 +05:00 committed by GitHub
commit 2d1c0552f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -25,6 +25,9 @@ jobs:
- python-version: "3.10" # Keep in sync with .readthedocs.yml
env:
TOXENV: docs
- python-version: "3.10"
env:
TOXENV: twinecheck
steps:
- uses: actions/checkout@v2

View File

@ -71,6 +71,14 @@ deps =
commands =
pylint conftest.py docs extras scrapy setup.py tests
[testenv:twinecheck]
basepython = python3
deps =
twine==4.0.1
commands =
python setup.py sdist
twine check dist/*
[pinned]
deps =
cryptography==3.3