Skip to content

fix: make Job and AccountInfo fields resilient to missing API data #2

fix: make Job and AccountInfo fields resilient to missing API data

fix: make Job and AccountInfo fields resilient to missing API data #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Lint
run: |
ruff check src/ tests/
ruff format --check src/ tests/
- name: Type check
run: mypy src/
- name: Test
run: pytest --cov --cov-report=xml -m "not smoke"
- name: Upload coverage
if: matrix.python-version == '3.12'
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage.xml