[LLM] Unittest for llm-cli (#8343)

* add llm-cli test shell
This commit is contained in:
xingyuan li 2023-06-16 17:42:24 +08:00 committed by GitHub
parent 1aa33d35d5
commit daae7bd4e4

View file

@ -73,7 +73,6 @@ jobs:
pip install pytest
bash python/llm/test/run-llm-install-tests.sh
source $CONDA_HOME/bin/deactivate
$CONDA_HOME/bin/conda remove -n bigdl-init-llm --all
env:
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}
@ -96,3 +95,15 @@ jobs:
fi
# new test steps should be added here
- name: Run LLM cli test
uses: ./.github/actions/llm/llm-cli-flow-verification-linux
env:
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}
- name: Clean up test environment
shell: bash
run: |
$CONDA_HOME/bin/conda env remove -y -n bigdl-init-llm || true
env:
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}