Skip to content

Commit 16a9c19

Browse files
committed
Fix Python version syntax
1 parent 321bf38 commit 16a9c19

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/ci_integrate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
os: [ubuntu-20.04, macOS-10.15, windows-2019]
28-
python-version: [3.7, 3.10]
28+
python-version: ['3.7', '3.10']
2929
requires: ['oldest', 'latest']
3030
exclude:
31-
- {python-version: 3.7, requires: 'latest'}
32-
- {python-version: 3.10, requires: 'oldest'}
31+
- {python-version: '3.7', requires: 'latest'}
32+
- {python-version: '3.10', requires: 'oldest'}
3333
env:
3434
PYTEST_ARTEFACT: test-results-${{ matrix.os }}-py${{ matrix.python-version }}-${{ matrix.requires }}.xml
3535
PYTORCH_URL: https://download.pytorch.org/whl/cpu/torch_stable.html

.github/workflows/ci_test-conda.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
python-version: ["3.8"]
3030
pytorch-version: ["1.4", "1.5", "1.6", "1.7", "1.8", "1.9", "1.10", "1.11"]
3131
include:
32-
- {python-version: 3.7, pytorch-version: '1.3'}
33-
- {python-version: 3.9, pytorch-version: '1.12'}
34-
- {python-version: 3.9, pytorch-version: '1.13'}
35-
- {python-version: 3.10, pytorch-version: '1.11'}
36-
- {python-version: 3.10, pytorch-version: '1.12'}
37-
- {python-version: 3.10, pytorch-version: '1.13'}
32+
- {python-version: '3.7', pytorch-version: '1.3'}
33+
- {python-version: '3.9', pytorch-version: '1.12'}
34+
- {python-version: '3.9', pytorch-version: '1.13'}
35+
- {python-version: '3.10', pytorch-version: '1.11'}
36+
- {python-version: '3.10', pytorch-version: '1.12'}
37+
- {python-version: '3.10', pytorch-version: '1.13'}
3838
env:
3939
PYTEST_ARTEFACT: test-conda-py${{ matrix.python-version }}-pt${{ matrix.pytorch-version }}.xml
4040

.github/workflows/ci_test-full.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
os: [ubuntu-20.04, macOS-10.15, windows-2019]
31-
python-version: [3.7, 3.8, 3.9, 3.10]
31+
python-version: ['3.7', '3.8', '3.9', '3.10']
3232
requires: ['oldest', 'latest']
3333
exclude:
34-
- {python-version: 3.7, requires: 'latest'}
35-
- {python-version: 3.10, requires: 'oldest'}
34+
- {python-version: '3.7', requires: 'latest'}
35+
- {python-version: '3.10', requires: 'oldest'}
3636
env:
3737
PYTEST_ARTEFACT: test-results-${{ matrix.os }}-py${{ matrix.python-version }}-${{ matrix.requires }}.xml
3838
PYTORCH_URL: https://download.pytorch.org/whl/cpu/torch_stable.html

0 commit comments

Comments
 (0)