Skip to content

Commit f76c07a

Browse files
Test packaging in CI
Closes #162
1 parent e90705f commit f76c07a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,25 @@ jobs:
4141
python -m pip install --upgrade pip
4242
python -m pip install '.[dev]'
4343
- run: pytest
44+
45+
packaging:
46+
name: Packaging
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/checkout@v4
50+
- uses: actions/setup-python@v5
51+
with:
52+
python-version: '3.11'
53+
- name: Install dependencies
54+
run: |
55+
python -m pip install --upgrade pip
56+
python -m pip install build twine validate-pyproject[all]
57+
- name: Check and install package
58+
run: |
59+
validate-pyproject pyproject.toml
60+
python -m build
61+
python -m twine check --strict dist/*
62+
python -m pip install dist/*.whl
63+
- name: Check CLIs
64+
run: |
65+
vcf2zarr --help

0 commit comments

Comments
 (0)