|
|
@ -2,9 +2,9 @@ name: Python tests
|
|
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
branches: [ 0.6.x ]
|
|
|
|
pull_request:
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
branches: [ 0.6.x ]
|
|
|
|
|
|
|
|
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
OMP_NUM_THREADS: 2
|
|
|
|
OMP_NUM_THREADS: 2
|
|
|
@ -15,10 +15,10 @@ jobs:
|
|
|
|
name: Run tests on ${{ matrix.os }} with Python ${{ matrix.python }}
|
|
|
|
name: Run tests on ${{ matrix.os }} with Python ${{ matrix.python }}
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, macOS-latest]
|
|
|
|
os: [ubuntu-latest]
|
|
|
|
python: ['3.9']
|
|
|
|
python: ['3.10']
|
|
|
|
torch: ['1.10.0']
|
|
|
|
torch: ['1.13.1']
|
|
|
|
torchvision: ['0.11.1']
|
|
|
|
torchvision: ['0.14.1']
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|