tests for pytorch 1.5 (#1552)

* tests for pytorch 1.5

* up Win

* win

* win

* win

* win

* win

* win
This commit is contained in:
Jirka Borovec
2020-04-22 10:10:23 -04:00
committed by GitHub
parent c1c6e3b6c9
commit 4d24032ea5
3 changed files with 22 additions and 8 deletions
+7 -1
View File
@@ -19,7 +19,7 @@ jobs:
fail-fast: false
# max-parallel: 6
matrix:
os: [ubuntu-18.04, windows-2016, macOS-10.15]
os: [ubuntu-18.04, windows-2019, macOS-10.15]
python-version: [3.6, 3.7, 3.8]
requires: ['minimal', 'latest']
exclude:
@@ -42,6 +42,12 @@ jobs:
run: |
brew install libomp # https://github.com/pytorch/pytorch/issues/20030
# TODO: remove after https://github.com/pytorch/pytorch/issues/32186 is resolved
- name: Setup Windows
if: runner.os == 'windows' && matrix.requires == 'latest'
run: |
python -c "req = open('requirements.txt').read().replace('torch>=1.1', 'torch<1.5') ; open('requirements.txt', 'w').write(req)"
- name: Set min. dependencies
if: matrix.requires == 'minimal'
run: |