File tree Expand file tree Collapse file tree 1 file changed +41
-3
lines changed
Expand file tree Collapse file tree 1 file changed +41
-3
lines changed Original file line number Diff line number Diff line change 1111 name : Lint
1212 uses : tskit-dev/.github/.github/workflows/lint.yml@v2
1313
14+ 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
51+
1452 test :
1553 name : Python
1654 runs-on : ${{ matrix.os }}
4886 - name : Install GSL (macOS)
4987 if : matrix.os == 'macos-latest'
5088 run : brew install gsl
51-
89+
5290 - name : Install GSL (Windows)
5391 if : matrix.os == 'windows-latest'
5492 run : |
64102 - name : Install GSL (Ubuntu)
65103 if : matrix.os == 'ubuntu-24.04'
66104 run : sudo apt-get update && sudo apt-get install -y libgsl-dev
67-
105+
68106 - name : Install pip deps
69- run : |
107+ run : |
70108 pip install uv
71109 uv pip install --system -r pyproject.toml --extra test
72110
You can’t perform that action at this time.
0 commit comments