mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-04-29 10:41:14 +00:00
chore(ci): fix pypi action
This commit is contained in:
4
.github/workflows/pypi.yml
vendored
4
.github/workflows/pypi.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user