Skip to content

Document None vs type(None) semantics for type inspection (#42) #337

Document None vs type(None) semantics for type inspection (#42)

Document None vs type(None) semantics for type inspection (#42) #337

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
lint-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.10', '3.14']
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv sync
- name: Lint and type check
run: uv run poe lint
- name: Run tests
run: |
uv run pytest --cov=src --cov-report=html:coverage_html_report
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-html-report-${{ matrix.os }}-${{ matrix.python-version }}
path: coverage_html_report/