From 04496ccdcf6ffdc88bde7099af24017be5640c01 Mon Sep 17 00:00:00 2001 From: Thomas Capelle Date: Fri, 11 Oct 2024 22:47:57 +0200 Subject: [PATCH] enable test --- .github/workflows/test.yaml | 1 + noxfile.py | 2 ++ pyproject.toml | 1 + 3 files changed, 4 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b7f03683551..8f7aaa346d1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -222,6 +222,7 @@ jobs: 'mistral0', 'mistral1', 'openai', + 'scorers', ] fail-fast: false services: diff --git a/noxfile.py b/noxfile.py index d9efabaa165..5fe1a27d13d 100644 --- a/noxfile.py +++ b/noxfile.py @@ -30,6 +30,7 @@ def lint(session): "mistral0", "mistral1", "openai", + "scorers", ], ) def tests(session, shard): @@ -56,6 +57,7 @@ def tests(session, shard): "trace_server": ["trace_server/"], "mistral0": ["integrations/mistral/v0/"], "mistral1": ["integrations/mistral/v1/"], + "scorers": ["flow/"], } test_dirs = test_dirs_dict.get(shard, default_test_dirs) diff --git a/pyproject.toml b/pyproject.toml index a2c44afd291..2ac4dbf0c1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,6 +65,7 @@ litellm = ["litellm>=1.36.1"] llamaindex = ["llama-index>=0.10.35"] mistral0 = ["mistralai>=0.1.8,<1.0.0"] mistral1 = ["mistralai>=1.0.0"] +scorers = ["openai>=1.0.0", "instructor>=1.5.2"] openai = ["openai>=1.0.0"] modal = ["modal", "python-dotenv"] test = [