@@ -3,38 +3,48 @@ name: Test textual-dev
3
3
on :
4
4
pull_request :
5
5
paths :
6
- - ' .github/workflows/pythonpackage.yml'
7
- - ' **.py'
8
- - ' **.pyi'
9
- - ' **.css'
10
- - ' **.lock'
11
- - ' Makefile'
6
+ - " .github/workflows/pythonpackage.yml"
7
+ - " **.py"
8
+ - " **.pyi"
9
+ - " **.css"
10
+ - " **.lock"
11
+ - " Makefile"
12
12
push :
13
13
branches :
14
- - ' main'
14
+ - " main"
15
15
16
16
jobs :
17
17
build :
18
18
runs-on : ${{ matrix.os }}
19
19
strategy :
20
20
matrix :
21
21
os : [ubuntu-latest, macos-latest, windows-latest]
22
- python-version : ["3.7", "3.8", "3.9", "3.10", "3.11"]
22
+ python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
23
+ # Python 3.9 is on macos-13 but not macos-latest (macos-14-arm64)
24
+ # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760
25
+ exclude :
26
+ - { python-version: "3.8", os: "macos-latest" }
27
+ - { python-version: "3.9", os: "macos-latest" }
28
+ - { python-version: "3.11", os: "macos-latest" }
29
+ include :
30
+ - { python-version: "3.8", os: "macos-13" }
31
+ - { python-version: "3.9", os: "macos-13" }
32
+ - { python-version: "3.11", os: "macos-13" }
23
33
defaults :
24
34
run :
25
35
shell : bash
26
36
steps :
27
37
28
- - name : Install and configure Poetry # This could be cached, too...
38
+ - name : Install and configure Poetry # This could be cached, too...
29
39
30
40
with :
31
41
version : 1.4.2
32
42
virtualenvs-in-project : true
33
43
- name : Set up Python ${{ matrix.python-version }}
34
- uses : actions/setup-python@v4.6 .0
44
+ uses : actions/setup-python@v5.2 .0
35
45
with :
36
46
python-version : ${{ matrix.python-version }}
37
- architecture : x64
47
+
38
48
- name : Load cached venv
39
49
id : cached-poetry-dependencies
40
50
uses : actions/cache@v3
0 commit comments