Skip to content

Commit 6bfdfb7

Browse files
Update packaging tests
1 parent a56b990 commit 6bfdfb7

File tree

3 files changed

+307
-1
lines changed

3 files changed

+307
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
packaging:
1212
name: Python packaging
13-
uses: tskit-dev/.github/.github/workflows/python-packaging.yml@v4
13+
uses: tskit-dev/.github/.github/workflows/python-packaging.yml@main
1414
with:
1515
cli-test-cmd: tszip --help
1616

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ test = [
5858
"tskit",
5959
"zarr",
6060
]
61+
6162
docs = [
6263
"humanize",
6364
"jupyter-book",
@@ -67,16 +68,23 @@ docs = [
6768
"tskit",
6869
"zarr",
6970
]
71+
7072
# Fully pin lint requirements for determinism.
7173
lint = [
7274
"ruff==0.15.1",
7375
"prek==0.3.3",
7476
]
7577

78+
packaging = [
79+
"twine",
80+
"validate-pyproject[all]"
81+
]
82+
7683
dev = [
7784
{include-group = "docs"},
7885
{include-group = "lint"},
7986
{include-group = "test"},
87+
{include-group = "packaging"},
8088
]
8189

8290
[tool.setuptools]

0 commit comments

Comments
 (0)