-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathtest_browser_use_fullstack_runtime.yml
More file actions
40 lines (34 loc) · 1.14 KB
/
test_browser_use_fullstack_runtime.yml
File metadata and controls
40 lines (34 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: browser_use_fullstack_runtime_test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Debug directory structure
run: |
# ✅ Show actual directory structure
echo "Current directory: $(pwd)"
ls -la
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
# ✅ Use validated path from debug output
cd browser_use/browser_use_fullstack_runtime/backend
pip install pytest pytest-asyncio
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
env:
DASHSCOPE_API_KEY: ${{ secrets.DASHSCOPE_API_KEY }}
PYTHONPATH: ${{ github.workspace }}/browser_use/browser_use_fullstack_runtime/backend
run: |
# ✅ Use validated path from debug output
python -m pytest tests/browser_use_fullstack_runtime_test.py -v