Skip to content

chore(deps): bump the gha-updates group across 1 directory with 4 upd… #2177

chore(deps): bump the gha-updates group across 1 directory with 4 upd…

chore(deps): bump the gha-updates group across 1 directory with 4 upd… #2177

Workflow file for this run

name: Run parity tests
on:
push:
branches: [main, "release/*"]
pull_request:
branches: [main, "release/*"]
defaults:
run:
shell: bash
jobs:
pytester:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
UV_EXCLUDE_NEWER: "2 days"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install uv and setup python
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
with:
activate-environment: true
python-version: "3.12"
enable-cache: true
- name: Install LitServe
run: |
uv sync --all-extras --dev
uv pip compile pyproject.toml -o requirements.txt
uv pip install torchvision jsonargparse uvloop tenacity -U -q
uv pip list
- name: Parity test
run: export PYTHONPATH=$PWD && python tests/parity_fastapi/main.py
- name: Streaming speed test
run: bash tests/perf_test/stream/run_test.sh