Skip to content

feat: ravnest doctor — preflight diagnostics for setup issues #2

feat: ravnest doctor — preflight diagnostics for setup issues

feat: ravnest doctor — preflight diagnostics for setup issues #2

Workflow file for this run

name: Tests
on:
push:
branches: [llm_optim, main]
pull_request:
branches: [llm_optim, main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["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: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}-
- name: Install dependencies
run: |
pip install --upgrade pip
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install -e '.[inference]'
pip install pytest httpx
- name: Run tests
run: pytest tests/ -v --tb=short