Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Move pytest to test.yaml, remove from lint.yaml for better workflow separation
dha-aa6c4fb2406e1e
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex b0cc852b7..358973243 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -12,15 +12,4 @@ jobs:- run: uv run ruff check --no-fix --select PLE- run: uv run ruff format- run: uv run pre-commit run --all-files- - run: uv run pyright- # TODO: Fix the ignored pytests.- # openai.OpenAIError: The api_key client option must be set either by passing- # api_key to the client or by setting the OPENAI_API_KEY environment variable- - run: uv run --with=dotenv pytest- --ignore=tests/test_dropdown_error.py- --ignore=tests/test_gif_path.py- --ignore=tests/test_models.py- --ignore=tests/test_react_dropdown.py- --ignore=tests/test_save_conversation.py- --ignore=tests/test_vision.py- --ignore=tests/test_wait_for_element.py || true+ - run: uv run pyright\ No newline at end of filediff --git a/.github/workflows/test.yaml b/.github/workflows/test.yamlnew file mode 100644index 000000000..abdf90246--- /dev/null+++ b/.github/workflows/test.yaml@@ -0,0 +1,23 @@+name: Test+on:+ push:+ pull_request:+ workflow_dispatch:++jobs:+ test:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - uses: astral-sh/setup-uv@v5+ # TODO: Fix the ignored pytests.+ # openai.OpenAIError: The api_key client option must be set either by passing+ # api_key to the client or by setting the OPENAI_API_KEY environment variable+ - run: uv run --with=dotenv pytest+ --ignore=tests/test_dropdown_error.py+ --ignore=tests/test_gif_path.py+ --ignore=tests/test_models.py+ --ignore=tests/test_react_dropdown.py+ --ignore=tests/test_save_conversation.py+ --ignore=tests/test_vision.py+ --ignore=tests/test_wait_for_element.py || true