Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Add API key environment variables to GitHub Actions workflow for enhanced test capabilities

Magnus Müller42dac3dce1e9
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 23b72f7f0..5a651fe78 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -39,6 +39,11 @@ jobs:
runs-on: ubuntu-latest
env:
IN_DOCKER: 'True'
+ OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
+ PERPLEXITY_API_KEY: ${{ secrets.PERPLEXITY_API_KEY }}
+ ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
+ GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
+ GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}
strategy:
matrix:
test_filename: ${{ fromJson(needs.find_tests.outputs.TEST_FILENAMES || '["FAILED_TO_DISCOVER_TESTS"]') }}