mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
update action setting.
This commit is contained in:
parent
5988a3ffdd
commit
0627bd0bc9
1 changed files with 2 additions and 2 deletions
4
.github/workflows/unit_test.yml
vendored
4
.github/workflows/unit_test.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
python-version: ["3.8", "3.9", "3.10", "3.11"]
|
||||
python-version: ["3.10", "3.11"]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
|
@ -33,8 +33,8 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pytest torch==2.2.2+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
pip install pytest
|
||||
|
||||
- name: Run tests with pytest
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue