Skip to content

Commit 960a6cb

Browse files
committed
tweak workflow trigger and project metadata
1 parent 0982a49 commit 960a6cb

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/testindex.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: Release to PyPI
1+
name: Test release on TestPyPI
22
on:
33
push:
4-
tags: ['v*']
4+
tags: ['test*']
55
permissions:
66
contents: read
77
id-token: write

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ where = ["src"]
5454
palettize = ["py.typed"]
5555

5656
[tool.setuptools_scm]
57+
local_scheme = "no-local-version"
5758

5859
[tool.pytest.ini_options]
5960
testpaths = [
@@ -63,3 +64,12 @@ python_files = "test_*.py tests_*.py *_test.py *_tests.py"
6364
python_classes = "*Test* *Tests Test*"
6465
python_functions = "test_* *test"
6566
addopts = "--cov=src/palettize --cov-report=term-missing --cov-report=xml"
67+
68+
# [[tool.uv.index]]
69+
# name = "testpypi"
70+
# url = "https://test.pypi.org/simple/"
71+
# publish-url = "https://test.pypi.org/legacy/"
72+
# explicit = true
73+
74+
[tool.uv]
75+
cache-keys = [{ file = "pyproject.toml" }, { git = { commit = true, tags = true } }]

0 commit comments

Comments
 (0)