Skip to content

Commit b6a704e

Browse files
committed
add publishing workflow
1 parent 12ad379 commit b6a704e

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish
2+
on:
3+
workflow_dispatch:
4+
release:
5+
types: [published]
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
environment: publish
10+
permissions:
11+
id-token: write
12+
steps:
13+
- name: Check out repository
14+
uses: actions/checkout@v4
15+
- name: Install uv
16+
uses: astral-sh/setup-uv@v5
17+
- name: Build
18+
run: uv build
19+
- name: Publish package distributions to PyPI
20+
uses: pypa/gh-action-pypi-publish@release/v1

pyproject.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,27 @@ version = "0.1.0"
44
description = "Add your description here"
55
readme = "README.md"
66
requires-python = ">=3.9"
7+
classifiers = [
8+
"Framework :: Pytest",
9+
"Intended Audience :: Developers",
10+
"License :: OSI Approved :: MIT License",
11+
"Topic :: Software Development :: Testing",
12+
"Topic :: Software Development :: Quality Assurance",
13+
"Programming Language :: Python",
14+
"Programming Language :: Python :: 3",
15+
"Programming Language :: Python :: 3 :: Only",
16+
"Programming Language :: Python :: 3.9",
17+
"Programming Language :: Python :: 3.10",
18+
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
21+
]
722
dependencies = [
823
"pytest>=7",
924
]
1025

26+
27+
1128
[dependency-groups]
1229
dev = [
1330
"ruff>=0.8.4",

0 commit comments

Comments
 (0)