Skip to content

feat: dynamic factor models and new examples #35

feat: dynamic factor models and new examples

feat: dynamic factor models and new examples #35

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up uv
uses: astral-sh/setup-uv@v4
- name: Install Python 3.12
run: uv python install 3.12
- name: Install dependencies
run: uv sync --dev
- name: Lint with ruff
run: uv run ruff check src/ tests/
- name: Check formatting with ruff
run: uv run ruff format --check src/ tests/
- name: Type check with mypy
run: uv run mypy src/
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up uv
uses: astral-sh/setup-uv@v4
- name: Install Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --dev
- name: Run tests
run: uv run pytest --cov=dynaris --cov-report=term-missing