From 1fba17b6d9d4e4cbd36beaa4a902d164f8fbed27 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Mon, 18 Mar 2024 16:48:38 +0100 Subject: [PATCH 1/2] evaluation components - use API keys in tests --- .github/workflows/deepeval.yml | 2 ++ .github/workflows/ragas.yml | 1 + .github/workflows/uptrain.yml | 1 + 3 files changed, 4 insertions(+) diff --git a/.github/workflows/deepeval.yml b/.github/workflows/deepeval.yml index f290125cb..ed2ec301b 100644 --- a/.github/workflows/deepeval.yml +++ b/.github/workflows/deepeval.yml @@ -21,6 +21,8 @@ concurrency: env: PYTHONUNBUFFERED: "1" FORCE_COLOR: "1" + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + jobs: run: diff --git a/.github/workflows/ragas.yml b/.github/workflows/ragas.yml index 10600d17d..af67484ad 100644 --- a/.github/workflows/ragas.yml +++ b/.github/workflows/ragas.yml @@ -21,6 +21,7 @@ concurrency: env: PYTHONUNBUFFERED: "1" FORCE_COLOR: "1" + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} jobs: run: diff --git a/.github/workflows/uptrain.yml b/.github/workflows/uptrain.yml index c0a805051..d6793b8a0 100644 --- a/.github/workflows/uptrain.yml +++ b/.github/workflows/uptrain.yml @@ -21,6 +21,7 @@ concurrency: env: PYTHONUNBUFFERED: "1" FORCE_COLOR: "1" + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} jobs: run: From 5fe9760161bd2df5039fcec35bcc1b7ad4b9b0d2 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Mon, 18 Mar 2024 16:49:54 +0100 Subject: [PATCH 2/2] rm blank line --- .github/workflows/deepeval.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/deepeval.yml b/.github/workflows/deepeval.yml index ed2ec301b..e987f03f0 100644 --- a/.github/workflows/deepeval.yml +++ b/.github/workflows/deepeval.yml @@ -23,7 +23,6 @@ env: FORCE_COLOR: "1" OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - jobs: run: name: Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }}