File tree Expand file tree Collapse file tree 1 file changed +44
-4
lines changed
Expand file tree Collapse file tree 1 file changed +44
-4
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,51 @@ name: Monitor the pool of WorkArena instances
33on :
44 workflow_dispatch :
55 schedule :
6- - cron : " 0 3 * * *" # daily at 03:00 UTC (adjust if needed)
6+ - cron : " 0 3 * * *" # daily at 03:00 UTC
77
88jobs :
9- browsergym-workarena-fast :
9+
10+ test-l1-tasks :
11+ name : Test L1 tasks
12+ runs-on : ubuntu-22.04
13+
14+ defaults :
15+ run :
16+ shell : bash -l {0}
17+
18+ env :
19+ HUGGING_FACE_HUB_TOKEN : ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
20+
21+ steps :
22+ - name : Checkout Repository
23+ uses : actions/checkout@v4
24+
25+ - name : Set up Python
26+ uses : actions/setup-python@v5
27+ with :
28+ python-version : ' 3.12'
29+ cache : ' pip'
30+
31+ - name : Install Python dependencies
32+ working-directory : ./dev
33+ run : |
34+ pip install -r requirements.txt
35+ pip install huggingface_hub
36+
37+ - name : Pip list
38+ run : pip list
39+
40+ - name : Install Playwright
41+ run : playwright install chromium --with-deps
42+
43+ - name : Run L1 tests
44+ run : pytest -n 10 --durations=10 --slowmo 1000 -v tests/test_task_general.py
45+
46+
47+ test-snow-instance :
48+ name : Test snow instance
1049 runs-on : ubuntu-22.04
50+ needs : test-l1-tasks # remove this line if you want both jobs to run in parallel
1151
1252 defaults :
1353 run :
3878 - name : Install Playwright
3979 run : playwright install chromium --with-deps
4080
41- - name : Run test_task_general.py
42- run : pytest -n 20 --durations=10 --slowmo 1000 -v tests/test_task_general .py
81+ - name : Run snow instance tests
82+ run : pytest -n 10 --durations=10 --slowmo 1000 -v tests/test_snow_instance .py
You can’t perform that action at this time.
0 commit comments