From 1ff82ee02e9951dd9319c948e0e9ac8f6991f6e4 Mon Sep 17 00:00:00 2001 From: Donnie Adams Date: Fri, 16 Aug 2024 18:04:56 -0400 Subject: [PATCH] chore: update GitHub actions for upcoming changes Signed-off-by: Donnie Adams --- .github/workflows/run_tests.yaml | 6 ++---- tox.ini | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 23a0369..17ef31c 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -33,6 +33,7 @@ jobs: env: GPTSCRIPT_BIN: ./gptscriptexe OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} run: tox test-windows: @@ -52,12 +53,9 @@ jobs: - name: Install deps run: | pip install -r requirements.txt - - name: Create config file - run: | - echo '{"credsStore":"file"}' > config - name: Run Tests env: GPTSCRIPT_BIN: .\gptscript.exe OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - GPTSCRIPT_CONFIG_FILE: .\config + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} run: tox diff --git a/tox.ini b/tox.ini index e99afad..b97836d 100644 --- a/tox.ini +++ b/tox.ini @@ -9,6 +9,7 @@ deps = passenv = OPENAI_API_KEY + ANTHROPIC_API_KEY GPTSCRIPT_BIN GPTSCRIPT_URL GPTSCRIPT_DISABLE_SERVER