27
27
fail-fast : false
28
28
matrix :
29
29
os : [ubuntu-latest, macos-latest, windows-2019]
30
- python-version : ["3.8", "3. 9", "3.10", "3.11"]
30
+ python-version : ["3.9", "3.10", "3.11"]
31
31
steps :
32
32
- uses : actions/checkout@v3
33
33
- name : Set up Python ${{ matrix.python-version }}
@@ -38,12 +38,12 @@ jobs:
38
38
run : |
39
39
python -m pip install --upgrade pip wheel
40
40
pip install pytest
41
- - name : Install qdrant_client when python-version is 3.8 and 3. 10
42
- if : matrix.python-version == '3.8' || matrix.python-version == '3. 10'
41
+ - name : Install qdrant_client when python-version is 3.10
42
+ if : matrix.python-version == '3.10'
43
43
run : |
44
44
pip install qdrant_client[fastembed]
45
- - name : Install unstructured when python-version is 3.9 and 3.11 and not windows
46
- if : ( matrix.python-version == '3.9' || matrix.python-version == '3.11') && matrix.os != 'windows-2019'
45
+ - name : Install unstructured when python-version is 3.9 and not windows
46
+ if : matrix.python-version == '3.9' && matrix.os != 'windows-2019'
47
47
run : |
48
48
pip install unstructured[all-docs]
49
49
- name : Install packages and dependencies for RetrieveChat
@@ -59,13 +59,11 @@ jobs:
59
59
run : |
60
60
pytest test/test_retrieve_utils.py test/agentchat/contrib/test_retrievechat.py test/agentchat/contrib/test_qdrant_retrievechat.py --skip-openai
61
61
- name : Coverage
62
- if : matrix.python-version == '3.10'
63
62
run : |
64
63
pip install coverage>=5.3
65
64
coverage run -a -m pytest test/test_retrieve_utils.py test/agentchat/contrib/test_retrievechat.py test/agentchat/contrib/test_qdrant_retrievechat.py --skip-openai
66
65
coverage xml
67
66
- name : Upload coverage to Codecov
68
- if : matrix.python-version == '3.10'
69
67
uses : codecov/codecov-action@v3
70
68
with :
71
69
file : ./coverage.xml
77
75
fail-fast : false
78
76
matrix :
79
77
os : [ubuntu-latest, macos-latest, windows-2019]
80
- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12" ]
78
+ python-version : ["3.8"]
81
79
steps :
82
80
- uses : actions/checkout@v3
83
81
- name : Set up Python ${{ matrix.python-version }}
@@ -97,18 +95,12 @@ jobs:
97
95
if [[ ${{ matrix.os }} != ubuntu-latest ]]; then
98
96
echo "AUTOGEN_USE_DOCKER=False" >> $GITHUB_ENV
99
97
fi
100
- - name : Test Compression
101
- if : matrix.python-version != '3.10' # diversify the python versions
102
- run : |
103
- pytest test/agentchat/contrib/test_compressible_agent.py --skip-openai
104
98
- name : Coverage
105
- if : matrix.python-version == '3.10'
106
99
run : |
107
100
pip install coverage>=5.3
108
101
coverage run -a -m pytest test/agentchat/contrib/test_compressible_agent.py --skip-openai
109
102
coverage xml
110
103
- name : Upload coverage to Codecov
111
- if : matrix.python-version == '3.10'
112
104
uses : codecov/codecov-action@v3
113
105
with :
114
106
file : ./coverage.xml
@@ -120,7 +112,7 @@ jobs:
120
112
fail-fast : false
121
113
matrix :
122
114
os : [ubuntu-latest, macos-latest, windows-2019]
123
- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12 "]
115
+ python-version : ["3.10 "]
124
116
steps :
125
117
- uses : actions/checkout@v3
126
118
- name : Set up Python ${{ matrix.python-version }}
@@ -140,18 +132,12 @@ jobs:
140
132
if [[ ${{ matrix.os }} != ubuntu-latest ]]; then
141
133
echo "AUTOGEN_USE_DOCKER=False" >> $GITHUB_ENV
142
134
fi
143
- - name : Test GPTAssistantAgent
144
- if : matrix.python-version != '3.11' # diversify the python versions
145
- run : |
146
- pytest test/agentchat/contrib/test_gpt_assistant.py --skip-openai
147
135
- name : Coverage
148
- if : matrix.python-version == '3.11'
149
136
run : |
150
137
pip install coverage>=5.3
151
138
coverage run -a -m pytest test/agentchat/contrib/test_gpt_assistant.py --skip-openai
152
139
coverage xml
153
140
- name : Upload coverage to Codecov
154
- if : matrix.python-version == '3.11'
155
141
uses : codecov/codecov-action@v3
156
142
with :
157
143
file : ./coverage.xml
@@ -163,7 +149,7 @@ jobs:
163
149
fail-fast : false
164
150
matrix :
165
151
os : [ubuntu-latest, macos-latest, windows-2019]
166
- python-version : ["3.8", "3.9", "3.10", "3. 11"]
152
+ python-version : ["3.11"]
167
153
steps :
168
154
- uses : actions/checkout@v3
169
155
- name : Set up Python ${{ matrix.python-version }}
@@ -183,18 +169,12 @@ jobs:
183
169
if [[ ${{ matrix.os }} != ubuntu-latest ]]; then
184
170
echo "AUTOGEN_USE_DOCKER=False" >> $GITHUB_ENV
185
171
fi
186
- - name : Test TeachableAgent
187
- if : matrix.python-version != '3.9' # diversify the python versions
188
- run : |
189
- pytest test/agentchat/contrib/test_teachable_agent.py --skip-openai
190
172
- name : Coverage
191
- if : matrix.python-version == '3.9'
192
173
run : |
193
174
pip install coverage>=5.3
194
175
coverage run -a -m pytest test/agentchat/contrib/test_teachable_agent.py --skip-openai
195
176
coverage xml
196
177
- name : Upload coverage to Codecov
197
- if : matrix.python-version == '3.9'
198
178
uses : codecov/codecov-action@v3
199
179
with :
200
180
file : ./coverage.xml
@@ -206,7 +186,7 @@ jobs:
206
186
fail-fast : false
207
187
matrix :
208
188
os : [ubuntu-latest, macos-latest, windows-2019]
209
- python-version : ["3.8", "3.9", "3.10", "3.11 "]
189
+ python-version : ["3.12 "]
210
190
steps :
211
191
- uses : actions/checkout@v3
212
192
- name : Set up Python ${{ matrix.python-version }}
@@ -226,18 +206,12 @@ jobs:
226
206
if [[ ${{ matrix.os }} != ubuntu-latest ]]; then
227
207
echo "AUTOGEN_USE_DOCKER=False" >> $GITHUB_ENV
228
208
fi
229
- - name : Test WebSurfer
230
- if : matrix.python-version != '3.10' # diversify the python versions
231
- run : |
232
- pytest test/test_browser_utils.py test/agentchat/contrib/test_web_surfer.py --skip-openai
233
209
- name : Coverage
234
- if : matrix.python-version == '3.10'
235
210
run : |
236
211
pip install coverage>=5.3
237
212
coverage run -a -m pytest test/test_browser_utils.py test/agentchat/contrib/test_web_surfer.py --skip-openai
238
213
coverage xml
239
214
- name : Upload coverage to Codecov
240
- if : matrix.python-version == '3.10'
241
215
uses : codecov/codecov-action@v3
242
216
with :
243
217
file : ./coverage.xml
@@ -249,7 +223,7 @@ jobs:
249
223
fail-fast : false
250
224
matrix :
251
225
os : [ubuntu-latest, macos-latest, windows-2019]
252
- python-version : ["3.8", "3.9", "3.10", "3.11", "3. 12"]
226
+ python-version : ["3.12"]
253
227
steps :
254
228
- uses : actions/checkout@v3
255
229
- name : Set up Python ${{ matrix.python-version }}
@@ -269,17 +243,12 @@ jobs:
269
243
if [[ ${{ matrix.os }} != ubuntu-latest ]]; then
270
244
echo "AUTOGEN_USE_DOCKER=False" >> $GITHUB_ENV
271
245
fi
272
- - name : Test LMM and LLaVA
273
- run : |
274
- pytest test/agentchat/contrib/test_img_utils.py test/agentchat/contrib/test_lmm.py test/agentchat/contrib/test_llava.py --skip-openai
275
246
- name : Coverage
276
- if : matrix.python-version == '3.10'
277
247
run : |
278
248
pip install coverage>=5.3
279
249
coverage run -a -m pytest test/agentchat/contrib/test_img_utils.py test/agentchat/contrib/test_lmm.py test/agentchat/contrib/test_llava.py --skip-openai
280
250
coverage xml
281
251
- name : Upload coverage to Codecov
282
- if : matrix.python-version == '3.10'
283
252
uses : codecov/codecov-action@v3
284
253
with :
285
254
file : ./coverage.xml
0 commit comments