chore(ci): fix pypi action

This commit is contained in:
Dowon
2024-08-24 14:48:13 +09:00
parent cbd60739e8
commit a3935fcc4f
2 changed files with 6 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ on:
jobs:
test:
name: test
runs-on: macos-14
runs-on: macos-latest
strategy:
matrix:
python-version:
@@ -27,7 +27,7 @@ jobs:
- name: Install dependencies
run: |
uv pip install --system . pytest
uv pip install --system ".[test]"
- name: Run tests
run: pytest -v

View File

@@ -27,6 +27,10 @@ dynamic = ["version"]
[project.urls]
repository = "https://github.com/Bing-su/adetailer"
[project.optional-dependencies]
dev = ["ruff", "pre-commit", "devtools"]
test = ["pytest", "hypothesis"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"