|
9 | 9 | runs-on: ${{ matrix.os }} |
10 | 10 | strategy: |
11 | 11 | matrix: |
12 | | - python-version: [3.6, 3.7, 3.8, 3.9] |
13 | | - os: [ubuntu-20.04, macos-latest, windows-latest] |
| 12 | + python-version: ['3.7', '3.8', '3.9', '3.10'] |
| 13 | + os: [ubuntu-latest, macos-latest, windows-latest] |
14 | 14 | steps: |
15 | 15 | - uses: actions/checkout@v1 |
16 | 16 | - name: Set up Python ${{ matrix.python-version }} |
17 | 17 | uses: actions/setup-python@v2 |
18 | 18 | with: |
19 | 19 | python-version: ${{ matrix.python-version }} |
20 | | - - if: matrix.os == 'windows-latest' |
| 20 | + - if: matrix.os == 'windows-latest' && matrix.python-version != 3.10 |
21 | 21 | name: Install dependencies - Windows |
22 | 22 | run: | |
23 | 23 | python -m pip install --upgrade pip |
24 | 24 | python -m pip install 'torch>=1.8.0,<2' -f https://download.pytorch.org/whl/cpu/torch/ |
25 | | - - if: matrix.os == 'windows-latest' && matrix.python-version == 3.6 |
26 | | - name: Install dependencies - Windows with Python 3.6 |
27 | | - run: python -m pip install pywinpty==2.0.1 |
| 25 | + - if: matrix.os == 'windows-latest' && matrix.python-version == 3.10 |
| 26 | + name: Install dependencies - Windows |
| 27 | + run: | |
| 28 | + python -m pip install --upgrade pip |
| 29 | + python -m pip install 'torch>=1.11.0,<2' -f https://download.pytorch.org/whl/cpu/torch/ |
28 | 30 | - name: Install dependencies |
29 | 31 | run: | |
30 | 32 | python -m pip install --upgrade pip |
|
0 commit comments