Skip to content

Add ordinal + calibration metrics, CV reporting, and CI-built model artifact #3

Add ordinal + calibration metrics, CV reporting, and CI-built model artifact

Add ordinal + calibration metrics, CV reporting, and CI-built model artifact #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
quality-gate:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Ruff (lint)
run: ruff check --output-format=github .
- name: Black (format check)
run: black --check .
- name: Mypy (type check)
run: mypy src app.py
- name: Pytest
run: pytest