Skip to content

Commit d0cc865

Browse files
committed
Skip ragas tests if ragas not available
1 parent c2e59b4 commit d0cc865

File tree

3 files changed

+235
-223
lines changed

3 files changed

+235
-223
lines changed

riotfile.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -2885,7 +2885,11 @@ def select_pys(min_version: str = MIN_PYTHON_VERSION, max_version: str = MAX_PYT
28852885
pkgs={"vcrpy": latest, "pytest-asyncio": "==0.21.1"},
28862886
venvs=[
28872887
Venv(pys="3.7"),
2888-
Venv(pys=select_pys(min_version="3.8"), pkgs={"ragas": "==0.1.21", "langchain": latest}),
2888+
Venv(
2889+
pys=select_pys(min_version="3.8"),
2890+
pkgs={"ragas": "==0.1.21", "langchain": latest},
2891+
env={"RAGAS_AVAILABLE": "True"},
2892+
),
28892893
],
28902894
),
28912895
Venv(

0 commit comments

Comments
 (0)