@@ -10,24 +10,34 @@ jobs:
10
10
fail-fast : false
11
11
matrix :
12
12
os : [ubuntu-20.04, windows-2019, macos-11]
13
- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-alpha.3", "pypy3.10", "pypy3.9"]
13
+ python-version :
14
+ [
15
+ " 3.8" ,
16
+ " 3.9" ,
17
+ " 3.10" ,
18
+ " 3.11" ,
19
+ " 3.12" ,
20
+ " 3.13.0-rc.1" ,
21
+ " pypy3.10" ,
22
+ " pypy3.9" ,
23
+ ]
14
24
steps :
15
- - uses : actions/checkout@v4
16
- - name : Set up Python ${{ matrix.python-version }}
17
- uses : actions/setup-python@v5
18
- with :
19
- python-version : ${{ matrix.python-version }}
20
- cache : pip
21
- - run : pip install pytest
22
- - run : pytest . --junitxml=junit/test_py${{ matrix.python-version }}_on_${{ matrix.os }}.xml
23
- - run : python -O once_test.py
24
- - run : python -OO once_test.py
25
- - name : Upload pytest test results
26
- uses : actions/upload-artifact@v4
27
- if : success() || failure()
28
- with :
29
- name : test-py${{ matrix.python-version}}-on-${{ matrix.os }}
30
- path : junit/test_py${{ matrix.python-version }}_on_${{ matrix.os }}.xml
25
+ - uses : actions/checkout@v4
26
+ - name : Set up Python ${{ matrix.python-version }}
27
+ uses : actions/setup-python@v5
28
+ with :
29
+ python-version : ${{ matrix.python-version }}
30
+ cache : pip
31
+ - run : pip install pytest
32
+ - run : pytest . --junitxml=junit/test_py${{ matrix.python-version }}_on_${{ matrix.os }}.xml
33
+ - run : python -O once_test.py
34
+ - run : python -OO once_test.py
35
+ - name : Upload pytest test results
36
+ uses : actions/upload-artifact@v4
37
+ if : success() || failure()
38
+ with :
39
+ name : test-py${{ matrix.python-version}}-on-${{ matrix.os }}
40
+ path : junit/test_py${{ matrix.python-version }}_on_${{ matrix.os }}.xml
31
41
32
42
lint :
33
43
runs-on : ubuntu-latest
0 commit comments