enable testing with minimal requirements #2134
Workflow file for this run
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: Minimal dependency check | |
on: | |
push: | |
branches: [main, "release/*"] | |
pull_request: | |
branches: [main, "release/*"] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
minimal-test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv and setup python | |
uses: astral-sh/setup-uv@v6 | |
with: | |
activate-environment: true | |
python-version: "3.12" | |
enable-cache: true | |
- name: Install LitServe | |
run: | | |
uv sync --no-dev | |
uv pip install . psutil -U -q | |
uv pip list | |
- name: Tests | |
run: python tests/minimal_run.py |