|
|
|
@ -16,9 +16,9 @@ jobs:
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
os: [ubuntu-latest, macOS-latest]
|
|
|
|
|
python: ['3.8']
|
|
|
|
|
torch: ['1.9.0']
|
|
|
|
|
torchvision: ['0.10.0']
|
|
|
|
|
python: ['3.9']
|
|
|
|
|
torch: ['1.10.0']
|
|
|
|
|
torchvision: ['0.11.1']
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
@ -30,7 +30,7 @@ jobs:
|
|
|
|
|
- name: Install testing dependencies
|
|
|
|
|
run: |
|
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
|
pip install pytest pytest-timeout
|
|
|
|
|
pip install pytest pytest-timeout expecttest
|
|
|
|
|
- name: Install torch on mac
|
|
|
|
|
if: startsWith(matrix.os, 'macOS')
|
|
|
|
|
run: pip install --no-cache-dir torch==${{ matrix.torch }} torchvision==${{ matrix.torchvision }}
|
|
|
|
|