mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
update install code
This commit is contained in:
parent
0627bd0bc9
commit
ceea119fcd
1 changed files with 2 additions and 1 deletions
3
.github/workflows/unit_test.yml
vendored
3
.github/workflows/unit_test.yml
vendored
|
|
@ -33,7 +33,8 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pytest torch==2.2.2+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
python -m pip install torch==2.2.2 --index-url https://download.pytorch.org/whl/cpu
|
||||||
|
python -m pip install pytest
|
||||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
|
|
||||||
- name: Run tests with pytest
|
- name: Run tests with pytest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue