File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 28
28
python : " 3.13"
29
29
docsTarget : true
30
30
cloudTestTarget : true
31
+ openaiTestTarget : true
31
32
clippyLinter : true
32
33
- os : ubuntu-latest
33
34
python : " 3.9"
75
76
- run : mkdir junit-xml
76
77
- run : poe test ${{matrix.pytestExtraArgs}} -s --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
77
78
timeout-minutes : 10
78
- env :
79
- OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
80
79
# Time skipping doesn't yet support ARM
81
80
- if : ${{ !endsWith(matrix.os, '-arm') }}
82
81
run : poe test ${{matrix.pytestExtraArgs}} -s --workflow-environment time-skipping --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}--time-skipping.xml
89
88
TEMPORAL_CLIENT_CLOUD_API_KEY : ${{ secrets.TEMPORAL_CLIENT_CLOUD_API_KEY }}
90
89
TEMPORAL_CLIENT_CLOUD_API_VERSION : 2024-05-13-00
91
90
TEMPORAL_CLIENT_CLOUD_NAMESPACE : sdk-ci.a2dd6
91
+ - if : ${{ matrix.openaiTestTarget && (github.event.pull_request.head.repo.full_name == '' || github.event.pull_request.head.repo.full_name == 'temporalio/sdk-python') }}
92
+ run : poe test tests/contrib/openai_agents/test_openai.py ${{matrix.pytestExtraArgs}} -s --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}--openai.xml
93
+ timeout-minutes : 10
94
+ env :
95
+ OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
92
96
- name : " Upload junit-xml artifacts"
93
97
uses : actions/upload-artifact@v4
94
98
if : always()
You can’t perform that action at this time.
0 commit comments