@@ -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
@@ -131,7 +131,7 @@ jobs:
131131 cp -r older-version/integrations/langchain integrations/
132132 - name : Install langchain dependency
133133 run : |
134- pip install integrations/langchain[ dev]
134+ pip install integrations/langchain --group dev
135135 - name : Run tests
136136 run : |
137137 # Only testing initialization since functionality can change
@@ -156,7 +156,7 @@ jobs:
156156 - name : Install dependencies
157157 run : |
158158 pip install .
159- pip install integrations/openai[ dev]
159+ pip install integrations/openai --group dev
160160 - name : Run tests
161161 run : |
162162 pytest integrations/openai/tests/unit_tests
@@ -198,7 +198,8 @@ jobs:
198198 cp -r older-version/integrations/openai integrations/
199199 - name : Install openai dependency
200200 run : |
201- pip install integrations/openai[dev]
201+ pip install .
202+ pip install integrations/openai --group dev
202203 - name : Run tests
203204 run : |
204205 # Only testing initialization since functionality can change
@@ -220,7 +221,7 @@ jobs:
220221 - name : Install dependencies
221222 run : |
222223 pip install .
223- pip install integrations/llamaindex[ dev]
224+ pip install integrations/llamaindex --group dev
224225 - name : Run tests
225226 run : |
226227 pytest integrations/llamaindex/tests/unit_tests
@@ -241,7 +242,7 @@ jobs:
241242 - name : Install dependencies
242243 run : |
243244 pip install .
244- pip install -e databricks_mcp[ dev]
245+ pip install -e databricks_mcp --group dev
245246 - name : Run tests
246247 run : |
247248 pytest databricks_mcp/tests/unit_tests
@@ -262,7 +263,7 @@ jobs:
262263 - name : Install dependencies
263264 run : |
264265 pip install .
265- pip install integrations/dspy[ dev]
266+ pip install integrations/dspy --group dev
266267 - name : Run tests
267268 run : |
268269 pytest integrations/dspy/tests/unit_tests
0 commit comments