Add loop.pre_setup
to allow fine-grained LitAPI validation based on…
#1235
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: 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: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install LitServe | |
run: | | |
pip --version | |
pip install . psutil -U -q | |
pip list | |
- name: Tests | |
run: python tests/minimal_run.py |