refactor: validation logic to pre_setup method in Embed Spec, where there is access to correct api instance #1996
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: 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 |