update tests ci
This commit is contained in:
@@ -8,10 +8,11 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
build-and-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 60
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ['3.7', '3.8', '3.9', '3.10']
|
python-version: ['3.8', '3.9', '3.10']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -27,7 +28,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements/server.txt
|
pip install -r requirements/server.txt --extra-index-url https://download.pytorch.org/whl/cpu
|
||||||
pip install -r requirements/client.txt
|
pip install -r requirements/client.txt
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
|
|||||||
Reference in New Issue
Block a user