Skip to content

Commit 6fc0812

Browse files
Use the reusable workflow for packaging
Trivial change Nother one
1 parent 15a702a commit 6fc0812

File tree

1 file changed

+6
-37
lines changed

1 file changed

+6
-37
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -9,45 +9,14 @@ on:
99
jobs:
1010
pre-commit:
1111
name: Lint
12-
uses: tskit-dev/.github/.github/workflows/lint.yml@v2
12+
uses: tskit-dev/.github/.github/workflows/lint.yml@v4
1313

1414
packaging:
15-
name: Packaging
16-
runs-on: ubuntu-latest
17-
steps:
18-
- name: Cancel Previous Runs
19-
uses: styfle/cancel-workflow-action@0.13.0
20-
with:
21-
access_token: ${{ github.token }}
22-
23-
- name: Checkout
24-
uses: actions/checkout@v6.0.2
25-
with:
26-
submodules: true
27-
28-
- name: Install GSL
29-
run: sudo apt-get update && sudo apt-get install -y libgsl-dev
30-
31-
- name: Set up Python 3.14
32-
uses: actions/setup-python@v6.1.0
33-
with:
34-
python-version: 3.14
35-
36-
- name: Install build deps
37-
run: |
38-
pip install uv
39-
uv pip install --system build twine validate-pyproject[all]
40-
41-
- name: Check package
42-
run: |
43-
validate-pyproject pyproject.toml
44-
python -m build
45-
python -m twine check --strict dist/*
46-
47-
- name: Install and run CLI
48-
run: |
49-
python -m pip install dist/*.whl
50-
msp --help
15+
name: Python packaging
16+
uses: tskit-dev/.github/.github/workflows/python-packaging.yml@v4
17+
with:
18+
additional-apt-packages: libgsl-dev
19+
cli-test-cmd: msp --help
5120

5221
test:
5322
name: Python

0 commit comments

Comments
 (0)