Rename demo to ui, start refactoring for vllm. #134
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: Python tests | |
on: [push] | |
jobs: | |
test-python: | |
strategy: | |
matrix: | |
subdir: | |
- backend-hf | |
- backend-llama | |
- backend-stub | |
- openai-wrapper | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.9 | |
- name: Add conda to system path | |
run: | | |
# $CONDA is an environment variable pointing to the root of the miniconda directory | |
echo $CONDA/bin >> $GITHUB_PATH | |
- name: Install dependencies | |
run: | | |
pip install -r ${{ matrix.subdir }}/requirements.txt | |
pip install -r ${{ matrix.subdir }}/dev-requirements.txt | |
- name: Perform static analysis | |
run: | | |
cd ${{ matrix.subdir }} && flake8 && mypy | |
#- name: Test with pytest | |
# run: | | |
# pip install pytest | |
# pytest |