fix: binds raise exception #19
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/CD Pipeline | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| quality-checks: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.13"] | |
| name: Quality Checks (Python ${{ matrix.python-version }}) | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install UV | |
| run: pip install uv | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| uv lock --check | |
| uv sync --all-extras --dev | |
| - name: Lint with Ruff | |
| run: | | |
| uv run ruff check . | |
| uv run ruff format --check . | |
| - name: Type check with mypy | |
| run: uv run mypy src/postgres_upgrader | |
| - name: Run tests with coverage | |
| run: | | |
| uv run pytest --cov=postgres_upgrader --cov-report=xml --cov-report=term-missing --tb=short |