@@ -3,38 +3,48 @@ name: Test textual-dev
33on :
44 pull_request :
55 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"
1212 push :
1313 branches :
14- - ' main'
14+ - " main"
1515
1616jobs :
1717 build :
1818 runs-on : ${{ matrix.os }}
1919 strategy :
2020 matrix :
2121 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" }
2333 defaults :
2434 run :
2535 shell : bash
2636 steps :
273728- - name : Install and configure Poetry # This could be cached, too...
38+ - name : Install and configure Poetry # This could be cached, too...
29393040 with :
3141 version : 1.4.2
3242 virtualenvs-in-project : true
3343 - name : Set up Python ${{ matrix.python-version }}
34- uses : actions/setup-python@v4.6 .0
44+ uses : actions/setup-python@v5.2 .0
3545 with :
3646 python-version : ${{ matrix.python-version }}
37- architecture : x64
47+
3848 - name : Load cached venv
3949 id : cached-poetry-dependencies
4050 uses : actions/cache@v3
0 commit comments