Skip to content

feat: add native vLLM sequence classification compatibility patches #10

feat: add native vLLM sequence classification compatibility patches

feat: add native vLLM sequence classification compatibility patches #10

Workflow file for this run

name: python-ci
on:
pull_request:
push:
branches: [main]
jobs:
uv-example:
name: python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install the project
# --extra cpu routes torch/torchvision/torchaudio to the pytorch-cpu index.
# Without this, uv would pull the 5.8 GiB ROCm wheels from pytorch-rocm.
run: uv sync --dev --extra cpu --index-strategy=unsafe-best-match
- name: Run unit tests (no Hub / no local models)
run: uv run --extra cpu pytest -m "not integration and not local_model" --cov-report=xml:coverage.xml
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v5
# with:
# files: coverage.xml
# token: ${{ secrets.CODECOV_TOKEN }}
# fail_ci_if_error: false