Release 0.1.6 — Mona Lisa showcase defaults 40×18. #5
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
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| python-sdk: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install | |
| run: python -m pip install -U pip && pip install ".[dev]" | |
| - name: Import smoke | |
| run: python -c "import glasswarp; print(glasswarp.__version__)" | |
| - name: Build | |
| run: python -m build && python -m twine check dist/* | |
| - name: Lean sdist (only expected demo asset) | |
| run: | | |
| tar -tzf dist/*.tar.gz | tee /tmp/sdist.txt | |
| # Allow the bundled Mona Lisa demo asset; reject other media. | |
| if grep -Ei '\.(jpg|jpeg|png|mov)$' /tmp/sdist.txt | grep -v 'examples/assets/mona_lisa.jpg'; then | |
| echo "unexpected media in sdist"; exit 1 | |
| fi |