Add uv install instructions and bump version to 0.1.1 #7
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 | |
| # workflow_call lets release.yml rerun this entire workflow on the tagged | |
| # commit and gate publishing on it. The push trigger covers branches only: | |
| # tag pushes get CI through the release workflow instead of twice. | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| pull_request: | |
| workflow_call: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| - name: Install package and test dependencies | |
| run: python -m pip install -e ".[dev]" | |
| - name: Run tests | |
| run: pytest --cov=deblotch --cov-report=term-missing | |
| quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.14" | |
| cache: pip | |
| - name: Install package and development tools | |
| run: python -m pip install -e ".[dev]" | |
| - name: Lint | |
| run: ruff check . | |
| - name: Check formatting | |
| run: ruff format --check . | |
| - name: Check types | |
| run: mypy | |
| - name: Build distributions | |
| run: python -m build | |
| - name: Check distribution metadata | |
| run: python -m twine check dist/* | |
| - name: Install and smoke-test the wheel | |
| run: | | |
| python -m pip uninstall --yes deblotch | |
| python -m pip install --no-deps dist/*.whl | |
| cd "$(mktemp -d)" | |
| deblotch --help | |
| python -c "from deblotch import clean, clean_image; print('wheel import: ok')" |