4
4
workflow_dispatch :
5
5
pull_request :
6
6
branches :
7
- - ' master'
7
+ - ' master'
8
8
push :
9
9
branches :
10
- - ' master'
10
+ - ' master'
11
11
create :
12
12
branches :
13
13
- ' master'
22
22
strategy :
23
23
max-parallel : 4
24
24
matrix :
25
- python-version : ["3.8", "3.9", "3.10", "3.11"]
25
+ python-version : ["3.8", "3.9", "3.10", "3.11", "3.12" ]
26
26
27
27
steps :
28
28
- uses : actions/checkout@v4
@@ -49,14 +49,14 @@ jobs:
49
49
if : " !contains(github.event.head_commit.message, 'no pep8')"
50
50
steps :
51
51
- uses : actions/checkout@v4
52
- - name : Set up Python
52
+ - name : Set up Python
53
53
uses : actions/setup-python@v5
54
54
with :
55
- python-version : " 3.10 "
55
+ python-version : " 3.x "
56
56
- name : Install dependencies
57
57
run : |
58
58
python -m pip install --upgrade pip setuptools
59
- pip install flake8
59
+ pip install flake8
60
60
- name : Lint with flake8
61
61
run : |
62
62
# stop the build if there are Python syntax errors or undefined names
@@ -70,10 +70,10 @@ jobs:
70
70
if : " !contains(github.event.head_commit.message, 'no ci')"
71
71
steps :
72
72
- uses : actions/checkout@v4
73
- - name : Set up Python
73
+ - name : Set up Python
74
74
uses : actions/setup-python@v5
75
75
with :
76
- python-version : " 3.10 "
76
+ python-version : " 3.12 "
77
77
- name : Install dependencies
78
78
run : |
79
79
python -m pip install --upgrade pip setuptools
94
94
max-parallel : 4
95
95
matrix :
96
96
os : [macos-latest, macos-13]
97
- python-version : ["3.11 "]
97
+ python-version : ["3.12 "]
98
98
99
99
steps :
100
100
- uses : actions/checkout@v4
@@ -109,7 +109,7 @@ jobs:
109
109
run : |
110
110
python -m pip install --upgrade pip setuptools
111
111
pip install -r requirements_all.txt
112
- pip install pytest
112
+ pip install pytest
113
113
- name : Run tests
114
114
run : |
115
115
python -m pytest --durations=20 -v test/ ot/ --color=yes
@@ -121,7 +121,7 @@ jobs:
121
121
strategy :
122
122
max-parallel : 4
123
123
matrix :
124
- python-version : ["3.11 "]
124
+ python-version : ["3.12 "]
125
125
126
126
steps :
127
127
- uses : actions/checkout@v4
0 commit comments