Skip to content

feat(data): centralize sample-dataset metadata in a manifest (#774) #2025

feat(data): centralize sample-dataset metadata in a manifest (#774)

feat(data): centralize sample-dataset metadata in a manifest (#774) #2025

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- '*'
pull_request:
jobs:
linux:
name: (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: "latest"
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --extra test
- name: Run tests
run: uv run pytest --nbmake --cov=chainladder --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
linux-pandas3:
name: (${{ matrix.python-version }}, pandas3, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-latest' ]
python-version: [ '3.14' ]
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: "latest"
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --extra test
- name: Run tests
run: uv run --with "pandas>=3,<4" pytest --nbmake --cov=chainladder --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
doctest:
name: Doctest (ubuntu-latest, 3.12)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: "latest"
python-version: "3.12"
- name: Install dependencies
run: uv sync --extra docs
- name: Run doctests
run: uv run --directory docs jb build . --builder=custom --custom-builder=doctest