Skip to content

Commit d3b0f24

Browse files
authored
Modify CI workflow for instance pool monitoring
Updated CI workflow to include Hugging Face token and improve naming.
1 parent c1c9f09 commit d3b0f24

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed
Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Monitor the pool of WorkArena instances
22

33
on:
4-
workflow_dispatch: # allow manual trigger
4+
workflow_dispatch:
55
schedule:
6-
- cron: "0 3 * * *" # daily at 03:00 UTC (adjust as needed)
6+
- cron: "0 3 * * *" # daily at 03:00 UTC (adjust if needed)
77

88
jobs:
99
browsergym-workarena-fast:
@@ -13,6 +13,9 @@ jobs:
1313
run:
1414
shell: bash -l {0}
1515

16+
env:
17+
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
18+
1619
steps:
1720
- name: Checkout Repository
1821
uses: actions/checkout@v4
@@ -23,15 +26,17 @@ jobs:
2326
python-version: '3.12'
2427
cache: 'pip'
2528

26-
- name: Pip install
29+
- name: Install Python dependencies
2730
working-directory: ./dev
28-
run: pip install -r requirements.txt
31+
run: |
32+
pip install -r requirements.txt
33+
pip install huggingface_hub
2934
3035
- name: Pip list
3136
run: pip list
3237

3338
- name: Install Playwright
3439
run: playwright install chromium --with-deps
3540

36-
- name: Run instance checks
37-
run: pytest -n 5 --durations=10 --slowmo 1000 -v tests/test_snow_instance.py tests/test_task_general.py
41+
- name: Run test_task_general.py
42+
run: pytest -n 5 --durations=10 --slowmo 1000 -v tests/test_task_general.py

0 commit comments

Comments
 (0)