Skip to content

Revert "feat: Add the trainer for generative HF models" #99

Revert "feat: Add the trainer for generative HF models"

Revert "feat: Add the trainer for generative HF models" #99

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
max-parallel: 4
steps:
- uses: actions/checkout@v4
- name: Install uv and set Python to ${{ matrix.python-version }}
uses: astral-sh/setup-uv@v6
with:
version: "0.7.20"
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv sync --group dev --group docs --group vllm
- name: Check types
run: |
uv run mypy app
- name: Lint
run: |
uv run ruff check
- name: Run unit tests
run: |
uv run pytest -v tests/app --cov --cov-report=html:coverage_reports #--random-order
- name: Run integration tests
run: |
uv run pytest -s -v tests/integration