8
8
strategy :
9
9
fail-fast : false
10
10
matrix :
11
- python-version : ["3.7", "3. 8", "3.9", "3.10", "3.11", "3.12-dev ", "pypy-3.8", "pypy-3.9", "pypy-3.10"]
11
+ python-version : ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8", "pypy-3.9", "pypy-3.10"]
12
12
os : [ubuntu-22.04, macOS-latest, windows-latest]
13
+ # Python 3.8 and 3.9 do not run on macOS-latest which
14
+ # is now using arm64 hardware.
15
+ # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760
16
+ exclude :
17
+ - { python-version: "3.8", os: "macos-latest" }
18
+ - { python-version: "3.9", os: "macos-latest" }
19
+ include :
20
+ - { python-version: "3.8", os: "macos-13" }
21
+ - { python-version: "3.9", os: "macos-13" }
13
22
14
23
steps :
15
24
- uses : actions/checkout@v3
@@ -36,10 +45,10 @@ jobs:
36
45
run : |
37
46
python -m pip install pip-tools
38
47
pip-compile --quiet --generate-hashes --extra mainapp > requirements.txt
39
- python -m pip install --requirement requirements.txt
40
- python -m pip install .[test]
48
+ python -m pip install --use-pep517 -- requirement requirements.txt
49
+ python -m pip install --use-pep517 .[test]
41
50
- name : Run tests
42
- run : tox
51
+ run : python -m pytest tests
43
52
- name : Store tested requirements.txt file as artifact
44
53
uses : actions/upload-artifact@v3
45
54
with :
0 commit comments