📦 Move PyPI release workflow into the main workflow.

This ensures that any releases are fully tested before publication.

The workflow first builds the distribution files (sdist, wheel) before
using a deployment environment to publish these to PyPI, using the
GitHub actions OpenID support to authenticate with PyPI.
This commit is contained in:
Martijn Pieters
2023-05-16 17:54:16 +01:00
parent 4aa8060faa
commit 282fcc7cea
6 changed files with 377 additions and 39 deletions

View File

@@ -41,6 +41,12 @@ coverage = ">=6.5,<8.0"
httpx = "*"
tox = "^4.5.1"
[tool.poetry.group.distributing]
optional = true
[tool.poetry.group.distributing.dependencies]
twine = { version = "^4.0.2", python = "^3.10" }
[tool.poetry.extras]
redis = ["redis"]
memcache = ["aiomcache"]