Skip to content

ci: add wiki initialization workflow and Python script #4

ci: add wiki initialization workflow and Python script

ci: add wiki initialization workflow and Python script #4

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
# Single-threaded BLAS: the benchmark is many tiny matrix ops (per-learner log-odds
# over a few thousand samples, small least-squares competence fits, repeated across
# seeds and regimes), where BLAS thread contention is far slower than one thread
# (and non-deterministic).
env:
OMP_NUM_THREADS: "1"
OPENBLAS_NUM_THREADS: "1"
MKL_NUM_THREADS: "1"
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "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 }}
- name: Install (offline backends only)
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Lint
run: ruff check .
- name: Tests
run: pytest -q
- name: Eval quality gate (no API keys, no downloads)
run: python -m evals.gate