add e2e test for simple streaming server #245
Workflow file for this run
This file contains 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@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install LitServe | |
run: | | |
pip --version | |
pip install . torchvision jsonargparse uvloop -U -q -r _requirements/test.txt -U -q | |
pip list | |
- name: Tests | |
run: export PYTHONPATH=$PWD && python tests/parity_fastapi/main.py |