Skip to content

Commit

Permalink
Add twinecheck.
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR committed Oct 14, 2024
1 parent 935f493 commit 24995a2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ jobs:
- python-version: "3.13"
env:
TOXENV: docs
- python-version: "3.13"
env:
TOXENV: twinecheck
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
license='BSD',
description='Scrapy middleware for Zyte Smart Proxy Manager',
long_description=readme,
long_description_content_type="text/x-rst",
maintainer='Raul Gallegos',
maintainer_email='raul.ogh@gmail.com',
author='Zyte',
Expand Down
9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,12 @@ changedir = {[docs]changedir}
deps = {[docs]deps}
commands =
sphinx-build -nW -b html . {envtmpdir}/html

[testenv:twinecheck]
basepython = python3
deps =
twine==5.1.1
build==1.2.2
commands =
python -m build --sdist
twine check dist/*

0 comments on commit 24995a2

Please sign in to comment.