Skip to content

fix: DataPage field aliases to match API columnar response #13

fix: DataPage field aliases to match API columnar response

fix: DataPage field aliases to match API columnar response #13

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Install uv
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7
with:
version: ">=0.5"
enable-cache: true
prune-cache: true
- name: Set up Python
run: uv python install 3.12
- name: Install dependencies
run: uv sync --all-groups --all-extras
- name: Lint (ruff check)
run: uv run ruff check src/ tests/
- name: Format check (ruff format)
run: uv run ruff format --check src/ tests/
- name: Type check (mypy)
run: uv run mypy src/
test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Install uv
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7
with:
version: ">=0.5"
enable-cache: true
prune-cache: true
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-groups --all-extras
- name: Run tests
run: uv run pytest --cov=opendata_sdk --cov-report=term-missing --cov-fail-under=80