From 188a6c3b70b9158666b8e6e28bca0fdfd57eb8c3 Mon Sep 17 00:00:00 2001 From: Game_Time <108236317+RayBytes@users.noreply.github.com> Date: Sat, 19 Aug 2023 19:11:54 +0500 Subject: [PATCH 1/2] Update tests.yml --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f29b604..8d60bf7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,7 +23,7 @@ jobs: - name: Start API server env: MONGO_URI: ${{ secrets.MONGO_URI }} - TEST_NOVA_KEY: ${{ secrets.NOVA_KEY }} + NOVA_KEY: ${{ secrets.NOVA_KEY }} run: | python run From e7198cc6e3e104e7a9a1b268331bc763740a573e Mon Sep 17 00:00:00 2001 From: Game_Time <108236317+RayBytes@users.noreply.github.com> Date: Sat, 19 Aug 2023 19:12:26 +0500 Subject: [PATCH 2/2] Update __main__.py --- tests/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/__main__.py b/tests/__main__.py index 5c6e91a..afd91cc 100644 --- a/tests/__main__.py +++ b/tests/__main__.py @@ -109,7 +109,7 @@ def test_all(): if __name__ == '__main__': closedai.api_base = api_endpoint - closedai.api_key = os.getenv('TEST_NOVA_KEY') + closedai.api_key = os.environ['NOVA_KEY'] HEADERS = { 'Content-Type': 'application/json',