Skip to content

Statistical correctness audit: post-hoc FWER, Firth CI, ANCOVA EMM, Box-Cox guard + UI #11

Statistical correctness audit: post-hoc FWER, Firth CI, ANCOVA EMM, Box-Cox guard + UI

Statistical correctness audit: post-hoc FWER, Firth CI, ANCOVA EMM, Box-Cox guard + UI #11

Workflow file for this run

name: tests
on:
push:
branches: [main, "feature/**"]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
pytest:
runs-on: ubuntu-latest
timeout-minutes: 20
env:
# conftest.py already forces this; set here too so CI logs are explicit.
QT_QPA_PLATFORM: offscreen
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
- name: Install headless-Qt system libraries
run: |
sudo apt-get update
sudo apt-get install -y libegl1 libgl1 libxkbcommon0 libdbus-1-3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
# Runs the tests/ suite (testpaths in pyproject.toml). The validation/
# suite is skipped in CI because several scripts shell out to R.
- name: Run unit tests
run: pytest