22
22
CACHED_BUILD_PATHS : |
23
23
${{ github.workspace }}/dist-serverless
24
24
jobs :
25
- test-ai-pinned :
26
- name : AI (pinned)
25
+ test-ai :
26
+ name : AI
27
27
timeout-minutes : 30
28
28
runs-on : ${{ matrix.os }}
29
29
strategy :
@@ -50,42 +50,42 @@ jobs:
50
50
- name : Erase coverage
51
51
run : |
52
52
coverage erase
53
- - name : Test anthropic pinned
53
+ - name : Test anthropic
54
54
run : |
55
55
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
58
58
run : |
59
59
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
62
62
run : |
63
63
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
66
66
run : |
67
67
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 openai-base
70
70
run : |
71
71
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 }}-openai-base"
73
+ - name : Test openai-notiktoken
74
74
run : |
75
75
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-notiktoken"
77
+ - name : Test langgraph
78
78
run : |
79
79
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 }}-langgraph"
81
+ - name : Test openai_agents
82
82
run : |
83
83
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 }}-openai_agents"
85
+ - name : Test huggingface_hub
86
86
run : |
87
87
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 }}-huggingface_hub"
89
89
- name : Generate coverage XML (Python 3.6)
90
90
if : ${{ !cancelled() && matrix.python-version == '3.6' }}
91
91
run : |
@@ -114,13 +114,13 @@ jobs:
114
114
files : .junitxml
115
115
verbose : true
116
116
check_required_tests :
117
- name : All pinned AI tests passed
118
- needs : test-ai-pinned
117
+ name : All AI tests passed
118
+ needs : test-ai
119
119
# Always run this, even if a dependent job failed
120
120
if : always()
121
121
runs-on : ubuntu-22.04
122
122
steps :
123
123
- name : Check for failures
124
- if : needs.test-ai-pinned .result != 'success'
124
+ if : needs.test-ai.result != 'success'
125
125
run : |
126
126
echo "One of the dependent jobs has failed. You may need to re-run it." && exit 1
0 commit comments