19
19
jobs :
20
20
build :
21
21
strategy :
22
+ fail-fast : false
22
23
matrix :
23
- platform : [ubuntu-latest, macos-latest] # TODO windows-latest??
24
- python-version : ['3.6', '3.7', '3.8', '3.9', '3.10']
25
- # seems like 3.6 isn't available on their osx image anymore
26
- exclude : [{platform: macos-latest, python-version: '3.6'}]
24
+ platform : [ubuntu-latest, macos-latest, windows-latest]
25
+ python-version : ['3.7', '3.8', '3.9', '3.10', '3.11']
27
26
28
27
runs-on : ${{ matrix.platform }}
29
28
30
29
steps :
31
30
# ugh https://github.com/actions/toolkit/blob/main/docs/commands.md#path-manipulation
32
31
- run : echo "$HOME/.local/bin" >> $GITHUB_PATH
33
32
34
- - uses : actions/setup-python@v2
33
+ - if : ${{ matrix.platform == 'macos-latest' && matrix.python-version == '3.11' }}
34
+ run : echo "$HOME/Library/Python/${{ matrix.python-version }}/bin" >> $GITHUB_PATH
35
+
36
+ - uses : actions/setup-python@v4
35
37
with :
36
38
python-version : ${{ matrix.python-version }}
37
39
38
- - uses : actions/checkout@v2
40
+ - uses : actions/checkout@v3
39
41
with :
40
42
submodules : recursive
41
43
44
46
45
47
- run : .ci/run
46
48
47
- - uses : actions/upload-artifact@v2
49
+ - uses : actions/upload-artifact@v3
48
50
with :
49
51
name : .coverage.mypy_${{ matrix.platform }}_${{ matrix.python-version }}
50
52
path : .coverage.mypy/
@@ -58,11 +60,11 @@ jobs:
58
60
# ugh https://github.com/actions/toolkit/blob/main/docs/commands.md#path-manipulation
59
61
- run : echo "$HOME/.local/bin" >> $GITHUB_PATH
60
62
61
- - uses : actions/setup-python@v2
63
+ - uses : actions/setup-python@v4
62
64
with :
63
65
python-version : ' 3.7'
64
66
65
- - uses : actions/checkout@v2
67
+ - uses : actions/checkout@v3
66
68
with :
67
69
submodules : recursive
68
70
0 commit comments