surya/.github/workflows/ci.yml
Vik Paruchuri e966a20990
Some checks failed
Unit tests / build (t4_gpu) (push) Has been cancelled
Unit tests / build (ubuntu-latest) (push) Has been cancelled
Unit tests / build (windows-latest) (push) Has been cancelled
Test CLI scripts / build (push) Has been cancelled
CI fix
2026-05-27 10:59:19 -04:00

30 lines
782 B
YAML

name: Unit tests
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [t4_gpu, ubuntu-latest, windows-latest]
fail-fast: false
env:
# T4 can't run bf16 in vllm; size for the 16GB card. (No-op on the
# CPU runners, which skip the VLM-backed tests.)
VLLM_DTYPE: float16
VLLM_GPU_TYPE: t4
SURYA_INFERENCE_STARTUP_TIMEOUT: "1200"
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: latest
enable-cache: true
- name: Set up Python 3.11
run: uv python install 3.11
- name: Install dependencies
run: uv sync --frozen --group dev
- name: Run tests
run: uv run pytest