2222 CACHED_BUILD_PATHS : |
2323 ${{ github.workspace }}/dist-serverless
2424jobs :
25- test-ai-pinned :
26- name : AI (pinned)
25+ test-ai :
26+ name : AI
2727 timeout-minutes : 30
2828 runs-on : ${{ matrix.os }}
2929 strategy :
@@ -50,42 +50,46 @@ jobs:
5050 - name : Erase coverage
5151 run : |
5252 coverage erase
53- - name : Test anthropic pinned
53+ - name : Test anthropic
5454 run : |
5555 set -x # print commands that are executed
56- ./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-anthropic"
57- - name : Test cohere pinned
56+ ./scripts/runtox.sh "py${{ matrix.python-version }}-anthropic"
57+ - name : Test cohere
5858 run : |
5959 set -x # print commands that are executed
60- ./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-cohere"
61- - name : Test langchain-base pinned
60+ ./scripts/runtox.sh "py${{ matrix.python-version }}-cohere"
61+ - name : Test langchain-base
6262 run : |
6363 set -x # print commands that are executed
64- ./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-langchain-base"
65- - name : Test langchain-notiktoken pinned
64+ ./scripts/runtox.sh "py${{ matrix.python-version }}-langchain-base"
65+ - name : Test langchain-notiktoken
6666 run : |
6767 set -x # print commands that are executed
68- ./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-langchain-notiktoken"
69- - name : Test openai-base pinned
68+ ./scripts/runtox.sh "py${{ matrix.python-version }}-langchain-notiktoken"
69+ - name : Test litellm
7070 run : |
7171 set -x # print commands that are executed
72- ./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-openai-base "
73- - name : Test openai-notiktoken pinned
72+ ./scripts/runtox.sh "py${{ matrix.python-version }}-litellm "
73+ - name : Test openai-base
7474 run : |
7575 set -x # print commands that are executed
76- ./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-openai-notiktoken "
77- - name : Test langgraph pinned
76+ ./scripts/runtox.sh "py${{ matrix.python-version }}-openai-base "
77+ - name : Test openai-notiktoken
7878 run : |
7979 set -x # print commands that are executed
80- ./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-langgraph "
81- - name : Test openai_agents pinned
80+ ./scripts/runtox.sh "py${{ matrix.python-version }}-openai-notiktoken "
81+ - name : Test langgraph
8282 run : |
8383 set -x # print commands that are executed
84- ./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-openai_agents "
85- - name : Test huggingface_hub pinned
84+ ./scripts/runtox.sh "py${{ matrix.python-version }}-langgraph "
85+ - name : Test openai_agents
8686 run : |
8787 set -x # print commands that are executed
88- ./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-huggingface_hub"
88+ ./scripts/runtox.sh "py${{ matrix.python-version }}-openai_agents"
89+ - name : Test huggingface_hub
90+ run : |
91+ set -x # print commands that are executed
92+ ./scripts/runtox.sh "py${{ matrix.python-version }}-huggingface_hub"
8993 - name : Generate coverage XML (Python 3.6)
9094 if : ${{ !cancelled() && matrix.python-version == '3.6' }}
9195 run : |
@@ -114,13 +118,13 @@ jobs:
114118 files : .junitxml
115119 verbose : true
116120 check_required_tests :
117- name : All pinned AI tests passed
118- needs : test-ai-pinned
121+ name : All AI tests passed
122+ needs : test-ai
119123 # Always run this, even if a dependent job failed
120124 if : always()
121125 runs-on : ubuntu-22.04
122126 steps :
123127 - name : Check for failures
124- if : needs.test-ai-pinned .result != 'success'
128+ if : needs.test-ai.result != 'success'
125129 run : |
126130 echo "One of the dependent jobs has failed. You may need to re-run it." && exit 1
0 commit comments