Bump actions/checkout from 5 to 6 in the gha-updates group #1924
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv and setup python | |
| uses: astral-sh/setup-uv@v7 | |
| 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 |