Skip to content

Commit 182e651

Browse files
committed
🕶 Migrate to uv
1 parent 4ffa876 commit 182e651

6 files changed

Lines changed: 790 additions & 23 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,13 @@ jobs:
1616

1717
steps:
1818
- name: 📥 Checkout repository
19-
uses: actions/checkout@v5
19+
uses: actions/checkout@v6
2020

21-
- name: 🐍 Setup Python
22-
uses: actions/setup-python@v6
23-
with:
24-
python-version: 3.11
25-
26-
- name: 📦 Install build dependencies
27-
run: python -m pip install build
21+
- name: 🕶 Install uv
22+
uses: astral-sh/setup-uv@v5
2823

2924
- name: 🏗️ Build package
30-
run: python -m build
25+
run: uv build
3126

3227
- name: 📤 Publish to PyPI
3328
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/tag.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: 📥 Checkout repository
19-
uses: actions/checkout@v5
19+
uses: actions/checkout@v6
2020
with:
2121
token: ${{ secrets.KLOUD_BOT_ORG_PAT }}
2222

.github/workflows/test.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
steps:
2424
- name: 📥 Checkout repository
25-
uses: actions/checkout@v5
25+
uses: actions/checkout@v6
2626

2727
- uses: pre-commit/action@v3.0.1
2828

@@ -33,16 +33,13 @@ jobs:
3333

3434
steps:
3535
- name: 📥 Checkout repository
36-
uses: actions/checkout@v5
36+
uses: actions/checkout@v6
3737

38-
- name: 🐍 Setup Python
39-
uses: actions/setup-python@v6
40-
with:
41-
python-version: 3.11
38+
- name: 🕶 Install uv
39+
uses: astral-sh/setup-uv@v5
4240

4341
- name: 🧪 Run tests with coverage
4442
run: |
45-
python -m pip install -e .[dev]
46-
47-
coverage run -m pytest --exitfirst
48-
coverage report --show-missing
43+
uv sync --extra dev
44+
uv run coverage run -m pytest --exitfirst
45+
uv run coverage report --show-missing

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ name = "testshed"
77
description = "🛠️ PyTest's tool shed: Docker up, Playwright on, cleanup done"
88
requires-python = ">=3.11"
99
authors = [{ name = "Dov Benyomin Sohacheski", email = "b@kloud.email" }]
10-
license = { text = "MIT" }
10+
license = "MIT"
1111
keywords = ["pytest", "docker", "fixtures", "playwright", "testing"]
1212
classifiers = [
1313
"Framework :: Pytest",
14-
"License :: OSI Approved :: MIT License",
1514
"Operating System :: OS Independent",
1615
"Programming Language :: Python :: 3.11",
1716
"Programming Language :: Python :: 3.12",
17+
"Programming Language :: Python :: 3.13",
1818
"Typing :: Typed",
1919
]
2020
dependencies = [

src/kloudkit/testshed/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.0.7"
1+
__version__ = "0.0.8"

0 commit comments

Comments
 (0)