CI: move twinecheck to tox env

This commit is contained in:
Abdul Rauf 2022-10-02 20:27:24 +05:00
parent c7d800ab22
commit 69bf5c6625
2 changed files with 11 additions and 5 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
@ -39,8 +42,3 @@ jobs:
run: |
pip install -U tox
tox
- name: Twine check
run: |
pip install twine
python setup.py sdist
twine check dist/*

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