@@ -3,7 +3,7 @@ name: tests
33on :
44 push :
55 branches :
6- - master
6+ - main
77 pull_request :
88 types :
99 - opened
2424 python-version : " 3.10"
2525 - name : Install dependencies
2626 run : |
27- pip install .[ lint]
27+ pip install . --group lint
2828 - name : Lint Python code with ruff
2929 run : |
3030 ruff check .
4545 python-version : ${{ matrix.python-version }}
4646 - name : Install dependencies
4747 run : |
48- pip install ".[dev, memory]"
48+ pip install ".[memory]" --group dev
4949 - name : Run tests
5050 run : |
5151 pytest tests/
6666 - name : Install dependencies
6767 run : |
6868 pip install .
69- pip install integrations/langchain[ dev]
69+ pip install integrations/langchain --group dev
7070 - name : Run tests
7171 run : |
7272 pytest integrations/langchain/tests/unit_tests
8787 - name : Install dependencies
8888 run : |
8989 pip install .[memory]
90- pip install "integrations/langchain[dev, memory]"
90+ pip install "integrations/langchain[memory]" --group dev
9191 - name : Run tests
9292 run : |
9393 pytest tests/databricks_ai_bridge/test_lakebase.py
@@ -132,7 +132,7 @@ jobs:
132132 cp -r older-version/integrations/langchain integrations/
133133 - name : Install langchain dependency
134134 run : |
135- pip install integrations/langchain[ dev]
135+ pip install integrations/langchain --group dev
136136 - name : Run tests
137137 run : |
138138 # Only testing initialization since functionality can change
@@ -157,7 +157,7 @@ jobs:
157157 - name : Install dependencies
158158 run : |
159159 pip install .
160- pip install integrations/openai[ dev]
160+ pip install integrations/openai --group dev
161161 - name : Run tests
162162 run : |
163163 pytest integrations/openai/tests/unit_tests
@@ -199,7 +199,8 @@ jobs:
199199 cp -r older-version/integrations/openai integrations/
200200 - name : Install openai dependency
201201 run : |
202- pip install integrations/openai[dev]
202+ pip install .
203+ pip install integrations/openai --group dev
203204 - name : Run tests
204205 run : |
205206 # Only testing initialization since functionality can change
@@ -221,7 +222,7 @@ jobs:
221222 - name : Install dependencies
222223 run : |
223224 pip install .
224- pip install integrations/llamaindex[ dev]
225+ pip install integrations/llamaindex --group dev
225226 - name : Run tests
226227 run : |
227228 pytest integrations/llamaindex/tests/unit_tests
@@ -242,7 +243,7 @@ jobs:
242243 - name : Install dependencies
243244 run : |
244245 pip install .
245- pip install -e databricks_mcp[ dev]
246+ pip install -e databricks_mcp --group dev
246247 - name : Run tests
247248 run : |
248249 pytest databricks_mcp/tests/unit_tests
@@ -263,7 +264,7 @@ jobs:
263264 - name : Install dependencies
264265 run : |
265266 pip install .
266- pip install integrations/dspy[ dev]
267+ pip install integrations/dspy --group dev
267268 - name : Run tests
268269 run : |
269270 pytest integrations/dspy/tests/unit_tests
0 commit comments