@@ -27,11 +27,11 @@ jobs:
27
27
steps :
28
28
# checkout to pr branch
29
29
- name : Checkout
30
- uses : actions/checkout@v3
30
+ uses : actions/checkout@v4
31
31
with :
32
32
ref : ${{ github.event.pull_request.head.sha }}
33
33
- name : Set up Python ${{ matrix.python-version }}
34
- uses : actions/setup-python@v4
34
+ uses : actions/setup-python@v5
35
35
with :
36
36
python-version : ${{ matrix.python-version }}
37
37
- name : Install packages and dependencies
@@ -70,11 +70,11 @@ jobs:
70
70
steps :
71
71
# checkout to pr branch
72
72
- name : Checkout
73
- uses : actions/checkout@v3
73
+ uses : actions/checkout@v4
74
74
with :
75
75
ref : ${{ github.event.pull_request.head.sha }}
76
76
- name : Set up Python ${{ matrix.python-version }}
77
- uses : actions/setup-python@v4
77
+ uses : actions/setup-python@v5
78
78
with :
79
79
python-version : ${{ matrix.python-version }}
80
80
- name : Install packages and dependencies
@@ -111,11 +111,11 @@ jobs:
111
111
steps :
112
112
# checkout to pr branch
113
113
- name : Checkout
114
- uses : actions/checkout@v3
114
+ uses : actions/checkout@v4
115
115
with :
116
116
ref : ${{ github.event.pull_request.head.sha }}
117
117
- name : Set up Python ${{ matrix.python-version }}
118
- uses : actions/setup-python@v4
118
+ uses : actions/setup-python@v5
119
119
with :
120
120
python-version : ${{ matrix.python-version }}
121
121
- name : Install packages and dependencies
@@ -152,11 +152,11 @@ jobs:
152
152
steps :
153
153
# checkout to pr branch
154
154
- name : Checkout
155
- uses : actions/checkout@v3
155
+ uses : actions/checkout@v4
156
156
with :
157
157
ref : ${{ github.event.pull_request.head.sha }}
158
158
- name : Set up Python ${{ matrix.python-version }}
159
- uses : actions/setup-python@v4
159
+ uses : actions/setup-python@v5
160
160
with :
161
161
python-version : ${{ matrix.python-version }}
162
162
- name : Install packages and dependencies
@@ -173,7 +173,7 @@ jobs:
173
173
AZURE_OPENAI_API_BASE : ${{ secrets.AZURE_OPENAI_API_BASE }}
174
174
OAI_CONFIG_LIST : ${{ secrets.OAI_CONFIG_LIST }}
175
175
run : |
176
- coverage run -a -m pytest test/agentchat/contrib/test_teachable_agent.py
176
+ coverage run -a -m pytest test/agentchat/contrib/capabilities/ test_teachable_agent.py
177
177
coverage xml
178
178
- name : Upload coverage to Codecov
179
179
uses : codecov/codecov-action@v3
@@ -190,11 +190,11 @@ jobs:
190
190
steps :
191
191
# checkout to pr branch
192
192
- name : Checkout
193
- uses : actions/checkout@v3
193
+ uses : actions/checkout@v4
194
194
with :
195
195
ref : ${{ github.event.pull_request.head.sha }}
196
196
- name : Set up Python ${{ matrix.python-version }}
197
- uses : actions/setup-python@v4
197
+ uses : actions/setup-python@v5
198
198
with :
199
199
python-version : ${{ matrix.python-version }}
200
200
- name : Install packages and dependencies
@@ -231,11 +231,11 @@ jobs:
231
231
steps :
232
232
# checkout to pr branch
233
233
- name : Checkout
234
- uses : actions/checkout@v3
234
+ uses : actions/checkout@v4
235
235
with :
236
236
ref : ${{ github.event.pull_request.head.sha }}
237
237
- name : Set up Python ${{ matrix.python-version }}
238
- uses : actions/setup-python@v4
238
+ uses : actions/setup-python@v5
239
239
with :
240
240
python-version : ${{ matrix.python-version }}
241
241
- name : Install packages and dependencies
@@ -279,11 +279,11 @@ jobs:
279
279
steps :
280
280
# checkout to pr branch
281
281
- name : Checkout
282
- uses : actions/checkout@v3
282
+ uses : actions/checkout@v4
283
283
with :
284
284
ref : ${{ github.event.pull_request.head.sha }}
285
285
- name : Set up Python ${{ matrix.python-version }}
286
- uses : actions/setup-python@v4
286
+ uses : actions/setup-python@v5
287
287
with :
288
288
python-version : ${{ matrix.python-version }}
289
289
- name : Install packages and dependencies
@@ -308,3 +308,38 @@ jobs:
308
308
with :
309
309
file : ./coverage.xml
310
310
flags : unittests
311
+ ImageGen :
312
+ strategy :
313
+ matrix :
314
+ os : [ubuntu-latest]
315
+ python-version : ["3.12"]
316
+ runs-on : ${{ matrix.os }}
317
+ environment : openai1
318
+ steps :
319
+ # checkout to pr branch
320
+ - name : Checkout
321
+ uses : actions/checkout@v4
322
+ with :
323
+ ref : ${{ github.event.pull_request.head.sha }}
324
+ - name : Set up Python ${{ matrix.python-version }}
325
+ uses : actions/setup-python@v5
326
+ with :
327
+ python-version : ${{ matrix.python-version }}
328
+ - name : Install packages and dependencies
329
+ run : |
330
+ docker --version
331
+ python -m pip install --upgrade pip wheel
332
+ pip install -e .[lmm]
333
+ python -c "import autogen"
334
+ pip install coverage pytest
335
+ - name : Coverage
336
+ env :
337
+ OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
338
+ run : |
339
+ coverage run -a -m pytest test/agentchat/contrib/capabilities/test_image_generation_capability.py
340
+ coverage xml
341
+ - name : Upload coverage to Codecov
342
+ uses : codecov/codecov-action@v3
343
+ with :
344
+ file : ./coverage.xml
345
+ flags : unittests
0 commit comments