Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

test: rewrite and add tests for vLLM pivot components #20

test: rewrite and add tests for vLLM pivot components

test: rewrite and add tests for vLLM pivot components #20

Workflow file for this run

name: CI
on:
push:
branches: ["main", "phase-*"]
pull_request:
branches: ["main"]
jobs:
test:
name: Test & Lint
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 }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Lint with ruff
run: ruff check src/ tests/
- name: Type-check with mypy
run: mypy src/llm_inference_engine --strict
- name: Run unit tests with coverage
run: |
pytest tests/unit/ \
--no-header \
--cov=src/llm_inference_engine \
--cov-report=xml \
--cov-report=term-missing \
--cov-fail-under=80
- name: Upload coverage report
uses: actions/upload-artifact@v4
if: matrix.python-version == '3.11'
with:
name: coverage-report
path: coverage.xml