Merge pull request #12 from DeepKernelLabs/fix/add-filter-load-arrow #18
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .github/workflows/publish.yml | |
| name: Publish | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| jobs: | |
| pypi: | |
| runs-on: ubuntu-latest | |
| environment: pypi # gates this job behind environment approval | |
| permissions: | |
| id-token: write | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Set up Python | |
| run: uv python install 3.13 | |
| - name: Build distributions | |
| run: uv build | |
| - name: Smoke test (wheel import) | |
| run: uv run --isolated --no-project --with dist/*.whl python -c "import smallcat; print('ok')" | |
| - name: Smoke test (sdist import) | |
| run: uv run --isolated --no-project --with dist/*.tar.gz python -c "import smallcat; print('ok')" | |
| - name: Publish to PyPI | |
| run: uv publish |