From 0c7a9d47f88b57494a7bf90714db1514b3af1b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Fri, 17 Nov 2023 11:45:50 +0100 Subject: [PATCH] CI: +twinescheck --- .github/workflows/main.yml | 3 +++ tox.ini | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dc61b9e50..3e01fd366 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,6 +38,9 @@ jobs: - python-version: "3.11" env: TOXENV: latest + - python-version: "3.11" + env: + TOXENV: twinecheck steps: - uses: actions/checkout@v3 - name: 'Set up Python ${{ matrix.python-version }}' diff --git a/tox.ini b/tox.ini index b6abc959b..1f515e521 100644 --- a/tox.ini +++ b/tox.ini @@ -37,3 +37,13 @@ deps = sphinx-rtd-theme commands = sphinx-build -b html . {envtmpdir}/html + +[testenv:twinecheck] +basepython = python3 +extras = [] +deps = + twine==4.0.2 + build==1.0.3 +commands = + python -m build --sdist + twine check dist/*