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 2828 python : " 3.13"
2929 docsTarget : true
3030 cloudTestTarget : true
31+ openaiTestTarget : true
3132 clippyLinter : true
3233 - os : ubuntu-latest
3334 python : " 3.9"
7576 - run : mkdir junit-xml
7677 - run : poe test ${{matrix.pytestExtraArgs}} -s --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
7778 timeout-minutes : 10
78- env :
79- OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
8079 # Time skipping doesn't yet support ARM
8180 - if : ${{ !endsWith(matrix.os, '-arm') }}
8281 run : poe test ${{matrix.pytestExtraArgs}} -s --workflow-environment time-skipping --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}--time-skipping.xml
8988 TEMPORAL_CLIENT_CLOUD_API_KEY : ${{ secrets.TEMPORAL_CLIENT_CLOUD_API_KEY }}
9089 TEMPORAL_CLIENT_CLOUD_API_VERSION : 2024-05-13-00
9190 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 }}
9296 - name : " Upload junit-xml artifacts"
9397 uses : actions/upload-artifact@v4
9498 if : always()
You can’t perform that action at this time.
0 commit comments