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

View File

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