fix: complete Collation comparison logic for total ordering #55
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: | |
| pull_request: | |
| branches: [master] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| unit_tests: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| python-version: | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| name: Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
| - name: Setup Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5 | |
| - name: Install dependencies | |
| run: uv sync --frozen | |
| - name: Type check (non-blocking) | |
| if: matrix.python-version == '3.10' | |
| continue-on-error: true | |
| run: uv tool run ty check --python-version 3.10 | |
| - name: Build the stack | |
| # --profile full unlocks profile-gated clickhouse; only named services start | |
| run: docker compose --profile full up -d --wait mysql postgres clickhouse | |
| - name: Run tests | |
| env: | |
| DATADIFF_CLICKHOUSE_URI: "clickhouse://clickhouse:Password1@localhost:9000/clickhouse" | |
| run: | | |
| uv run pytest tests/ \ | |
| -o addopts="--timeout=300 --tb=short" \ | |
| --ignore=tests/test_database_types.py \ | |
| --ignore=tests/test_dbt_config_validators.py \ | |
| --ignore=tests/test_main.py |