@@ -35,10 +35,11 @@ jobs:
3535
3636 core_test :
3737 runs-on : ubuntu-latest
38- name : core_test python- ${{ matrix.python-version }}
38+ name : " core_test ( python: ${{ matrix.python-version }}, uv: ${{ matrix.uv-resolution }}) "
3939 strategy :
4040 matrix :
4141 python-version : ["3.10", "3.11", "3.12"]
42+ uv-resolution : ["lowest-direct", "highest"]
4243 timeout-minutes : 20
4344 steps :
4445 - name : Checkout code
@@ -50,13 +51,18 @@ jobs:
5051 python-version : ${{ matrix.python-version }}
5152 - name : Run tests
5253 run : |
53- uv run --exact --group integration --extra memory pytest tests/
54+ uv run --resolution ${{ matrix.uv-resolution }} \
55+ --exact --group integration --extra memory \
56+ pytest tests/
5457
5558 langchain_test :
5659 runs-on : ubuntu-latest
60+ name : " langchain_test (python: ${{ matrix.python-version }}, uv: ${{ matrix.uv-resolution }})"
5761 strategy :
5862 matrix :
5963 python-version : ["3.10"]
64+ uv-resolution : ["lowest-direct", "highest"]
65+
6066 timeout-minutes : 20
6167 steps :
6268 - name : Checkout code
@@ -69,13 +75,16 @@ jobs:
6975 - name : Run tests
7076 working-directory : integrations/langchain
7177 run : |
72- uv run --exact --group integration pytest tests/unit_tests
78+ uv run --resolution ${{ matrix.uv-resolution }} \
79+ --exact --group integration pytest tests/unit_tests
7380
7481 lakebase_memory_test :
7582 runs-on : ubuntu-latest
83+ name : " lakebase_memory_test (python: ${{ matrix.python-version }}, uv: ${{ matrix.uv-resolution }})"
7684 strategy :
7785 matrix :
7886 python-version : ["3.10"]
87+ uv-resolution : ["lowest-direct", "highest"]
7988 timeout-minutes : 20
8089 steps :
8190 - name : Checkout code
@@ -87,11 +96,15 @@ jobs:
8796 python-version : ${{ matrix.python-version }}
8897 - name : Run databricks-ai-bridge Tests
8998 run : |
90- uv run --exact --group integration --extra memory pytest tests/databricks_ai_bridge/test_lakebase.py
99+ uv run --resolution ${{ matrix.uv-resolution }} \
100+ --exact --group integration --extra memory \
101+ pytest tests/databricks_ai_bridge/test_lakebase.py
91102 - name : Run databricks-langchain Tests
92103 working-directory : integrations/langchain
93104 run : |
94- uv run --exact --group integration --extra memory pytest tests/unit_tests/test_checkpoint.py
105+ uv run --resolution ${{ matrix.uv-resolution }} \
106+ --exact --group integration --extra memory \
107+ pytest tests/unit_tests/test_checkpoint.py
95108
96109 langchain_cross_version_test :
97110 runs-on : ubuntu-latest
@@ -142,9 +155,11 @@ jobs:
142155
143156 openai_test :
144157 runs-on : ubuntu-latest
158+ name : " openai_test (python: ${{ matrix.python-version }}, uv: ${{ matrix.uv-resolution }})"
145159 strategy :
146160 matrix :
147161 python-version : ["3.10"]
162+ uv-resolution : ["lowest-direct", "highest"]
148163 timeout-minutes : 20
149164 steps :
150165 - name : Checkout code
@@ -157,7 +172,8 @@ jobs:
157172 - name : Run tests
158173 working-directory : integrations/openai
159174 run : |
160- uv run --exact --group integration pytest tests/unit_tests
175+ uv run --resolution ${{ matrix.uv-resolution }} \
176+ --exact --group integration pytest tests/unit_tests
161177
162178 openai_cross_version_test :
163179 runs-on : ubuntu-latest
@@ -178,9 +194,6 @@ jobs:
178194 uses : actions/setup-python@v5
179195 with :
180196 python-version : ${{ matrix.python-version }}
181- - name : Install dependencies
182- run : |
183- pip install . "${{ matrix.version.mlflow }}"
184197 - name : Checkout openai version
185198 uses : actions/checkout@v4
186199 with :
@@ -198,16 +211,19 @@ jobs:
198211 run : |
199212 pip install .
200213 pip install integrations/openai --group dev
214+ pip install "${{ matrix.version.mlflow }}"
201215 - name : Run tests
202216 run : |
203217 # Only testing initialization since functionality can change
204218 pytest integrations/openai/tests/unit_tests/test_vector_search_retriever_tool.py::test_vector_search_retriever_tool_init
205219
206220 llamaindex_test :
207221 runs-on : ubuntu-latest
222+ name : " llamaindex_test (python: ${{ matrix.python-version }}, uv: ${{ matrix.uv-resolution }})"
208223 strategy :
209224 matrix :
210225 python-version : ["3.10"]
226+ uv-resolution : ["lowest-direct", "highest"]
211227 timeout-minutes : 20
212228 steps :
213229 - name : Checkout code
@@ -220,13 +236,15 @@ jobs:
220236 - name : Run tests
221237 working-directory : integrations/llamaindex
222238 run : |
223- uv run --exact --group integration pytest tests/unit_tests
239+ uv run --resolution ${{ matrix.uv-resolution }} -- exact --group integration pytest tests/unit_tests
224240
225241 mcp_test :
226242 runs-on : ubuntu-latest
243+ name : " mcp_test (python: ${{ matrix.python-version }}, uv: ${{ matrix.uv-resolution }})"
227244 strategy :
228245 matrix :
229246 python-version : ["3.10"]
247+ uv-resolution : ["lowest-direct", "highest"]
230248 timeout-minutes : 20
231249 steps :
232250 - name : Checkout code
@@ -239,13 +257,16 @@ jobs:
239257 - name : Run tests
240258 working-directory : databricks_mcp
241259 run : |
242- uv run --exact --group integration pytest tests/unit_tests
260+ uv run --resolution ${{ matrix.uv-resolution }} \
261+ --exact --group integration pytest tests/unit_tests
243262
244263 dspy_test :
245264 runs-on : ubuntu-latest
265+ name : " dspy_test (python: ${{ matrix.python-version }}, uv: ${{ matrix.uv-resolution }})"
246266 strategy :
247267 matrix :
248268 python-version : ["3.10"]
269+ uv-resolution : ["lowest-direct", "highest"]
249270 timeout-minutes : 20
250271 steps :
251272 - name : Checkout code
@@ -258,4 +279,5 @@ jobs:
258279 - name : Run tests
259280 working-directory : integrations/dspy
260281 run : |
261- uv run --exact --group integration pytest tests/unit_tests
282+ uv run --resolution ${{ matrix.uv-resolution }} \
283+ --exact --group integration pytest tests/unit_tests
0 commit comments