Skip to content

Commit

Permalink
chore: update GitHub actions for upcoming changes
Browse files Browse the repository at this point in the history
Signed-off-by: Donnie Adams <[email protected]>
  • Loading branch information
thedadams committed Aug 16, 2024
1 parent c9a57b3 commit 1ff82ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ deps =

passenv =
OPENAI_API_KEY
ANTHROPIC_API_KEY
GPTSCRIPT_BIN
GPTSCRIPT_URL
GPTSCRIPT_DISABLE_SERVER
Expand Down

0 comments on commit 1ff82ee

Please sign in to comment.