88 workflow_dispatch :
99
1010jobs :
11-
1211 code-format :
1312 runs-on : ubuntu-latest
1413
@@ -17,18 +16,21 @@ jobs:
1716 shell : bash -l {0}
1817
1918 steps :
20-
2119 - name : Checkout Repository
2220 uses : actions/checkout@v4
2321
2422 - name : Set up Python
2523 uses : actions/setup-python@v5
2624 with :
27- python-version : ' 3.12'
28- cache : ' pip' # caching pip dependencies
25+ python-version : " 3.12"
26+
27+ - name : Install uv
28+ uses : astral-sh/setup-uv@v4
29+ with :
30+ enable-cache : true
2931
30- - name : Pip install
31- run : pip install black[jupyter]==24.2.0 blacken-docs
32+ - name : Install dependencies
33+ run : uv pip install black[jupyter]==24.2.0 blacken-docs
3234
3335 - name : Code Formatting
3436 run : black . --check
@@ -41,32 +43,35 @@ jobs:
4143 shell : bash -l {0}
4244
4345 steps :
44-
4546 - name : Checkout Repository
4647 uses : actions/checkout@v4
4748
4849 - name : Checkout AgentLab
4950 uses : actions/checkout@v4
5051 with :
51- repository : ' ServiceNow/AgentLab'
52- ref : ' main'
53- path : ' agentlab'
52+ repository : " ServiceNow/AgentLab"
53+ ref : " main"
54+ path : " agentlab"
5455
5556 - name : Set up Python
5657 uses : actions/setup-python@v5
5758 with :
58- python-version : ' <3.13'
59- cache : ' pip' # caching pip dependencies
59+ python-version : " 3.12"
60+
61+ - name : Install uv
62+ uses : astral-sh/setup-uv@v4
63+ with :
64+ enable-cache : true
6065
6166 - name : Install AgentLab
6267 working-directory : ./agentlab
63- run : pip install -e .
68+ run : uv pip install -e .
6469
6570 - name : Install BrowserGym
6671 run : make install
6772
68- - name : Pip list
69- run : pip list
73+ - name : List installed packages
74+ run : uv pip list
7075
7176 - name : Fetch MiniWob
7277 uses : actions/checkout@v4
8792 # - name: Run AgentLab Unit Tests
8893 # env:
8994 # MINIWOB_URL: "http://localhost:8080/miniwob/"
90- # run: pytest -n 5 --durations=10 -m 'not pricy' -v agentlab/tests/experiments/test_launch_exp.py
95+ # run: pytest -n 5 --durations=10 -m 'not pricy' -v agentlab/tests/experiments/test_launch_exp.py
9196
9297 browsergym-core :
9398 runs-on : ubuntu-22.04
@@ -97,22 +102,25 @@ jobs:
97102 shell : bash -l {0}
98103
99104 steps :
100-
101105 - name : Checkout Repository
102106 uses : actions/checkout@v4
103107
104108 - name : Set up Python
105109 uses : actions/setup-python@v5
106110 with :
107- python-version : ' 3.12'
108- cache : ' pip' # caching pip dependencies
111+ python-version : " 3.12"
112+
113+ - name : Install uv
114+ uses : astral-sh/setup-uv@v4
115+ with :
116+ enable-cache : true
109117
110- - name : Pip install
118+ - name : Install dependencies
111119 working-directory : ./dev
112- run : pip install -r requirements.txt
120+ run : uv pip install -r requirements.txt
113121
114- - name : Pip list
115- run : pip list
122+ - name : List installed packages
123+ run : uv pip list
116124
117125 - name : Install Playwright
118126 run : playwright install chromium --with-deps
@@ -128,22 +136,25 @@ jobs:
128136 shell : bash -l {0}
129137
130138 steps :
131-
132139 - name : Checkout Repository
133140 uses : actions/checkout@v4
134141
135142 - name : Set up Python
136143 uses : actions/setup-python@v5
137144 with :
138- python-version : ' 3.12'
139- cache : ' pip' # caching pip dependencies
145+ python-version : " 3.12"
146+
147+ - name : Install uv
148+ uses : astral-sh/setup-uv@v4
149+ with :
150+ enable-cache : true
140151
141- - name : Pip install
152+ - name : Install dependencies
142153 working-directory : ./dev
143- run : pip install -r requirements.txt
154+ run : uv pip install -r requirements.txt
144155
145- - name : Pip list
146- run : pip list
156+ - name : List installed packages
157+ run : uv pip list
147158
148159 - name : Install Playwright
149160 run : playwright install chromium --with-deps
@@ -174,22 +185,25 @@ jobs:
174185 shell : bash -l {0}
175186
176187 steps :
177-
178188 - name : Checkout Repository
179189 uses : actions/checkout@v4
180190
181191 - name : Set up Python
182192 uses : actions/setup-python@v5
183193 with :
184- python-version : ' 3.12'
185- cache : ' pip' # caching pip dependencies
194+ python-version : " 3.12"
195+
196+ - name : Install uv
197+ uses : astral-sh/setup-uv@v4
198+ with :
199+ enable-cache : true
186200
187- - name : Pip install
201+ - name : Install dependencies
188202 working-directory : ./dev
189- run : pip install -r requirements.txt
203+ run : uv pip install -r requirements.txt
190204
191- - name : Pip list
192- run : pip list
205+ - name : List installed packages
206+ run : uv pip list
193207
194208 - name : Install Playwright
195209 run : playwright install chromium --with-deps
@@ -228,15 +242,19 @@ jobs:
228242 - name : Set up Python
229243 uses : actions/setup-python@v5
230244 with :
231- python-version : ' 3.12'
232- cache : ' pip' # caching pip dependencies
245+ python-version : " 3.12"
233246
234- - name : Pip install
247+ - name : Install uv
248+ uses : astral-sh/setup-uv@v4
249+ with :
250+ enable-cache : true
251+
252+ - name : Install dependencies
235253 working-directory : ./dev
236- run : pip install -r requirements.txt
254+ run : uv pip install -r requirements.txt
237255
238- - name : Pip list
239- run : pip list
256+ - name : List installed packages
257+ run : uv pip list
240258
241259 - name : Install Playwright
242260 run : playwright install chromium --with-deps
@@ -269,15 +287,19 @@ jobs:
269287 - name : Set up Python
270288 uses : actions/setup-python@v5
271289 with :
272- python-version : ' 3.12'
273- cache : ' pip' # caching pip dependencies
290+ python-version : " 3.12"
291+
292+ - name : Install uv
293+ uses : astral-sh/setup-uv@v4
294+ with :
295+ enable-cache : true
274296
275- - name : Pip install
297+ - name : Install dependencies
276298 working-directory : ./dev
277- run : pip install -r requirements.txt
299+ run : uv pip install -r requirements.txt
278300
279- - name : Pip list
280- run : pip list
301+ - name : List installed packages
302+ run : uv pip list
281303
282304 - name : Install Playwright
283305 run : playwright install chromium --with-deps
@@ -309,15 +331,19 @@ jobs:
309331 - name : Set up Python
310332 uses : actions/setup-python@v5
311333 with :
312- python-version : ' 3.12'
313- cache : ' pip' # caching pip dependencies
334+ python-version : " 3.12"
314335
315- - name : Pip install
336+ - name : Install uv
337+ uses : astral-sh/setup-uv@v4
338+ with :
339+ enable-cache : true
340+
341+ - name : Install dependencies
316342 working-directory : ./dev
317- run : pip install -r requirements.txt
343+ run : uv pip install -r requirements.txt
318344
319- - name : Pip list
320- run : pip list
345+ - name : List installed packages
346+ run : uv pip list
321347
322348 - name : Install Playwright
323349 run : playwright install chromium --with-deps
@@ -350,15 +376,19 @@ jobs:
350376 - name : Set up Python
351377 uses : actions/setup-python@v5
352378 with :
353- python-version : ' 3.12'
354- cache : ' pip' # caching pip dependencies
379+ python-version : " 3.12"
380+
381+ - name : Install uv
382+ uses : astral-sh/setup-uv@v4
383+ with :
384+ enable-cache : true
355385
356- - name : Pip install
386+ - name : Install dependencies
357387 working-directory : ./dev
358- run : pip install -r requirements.txt
388+ run : uv pip install -r requirements.txt
359389
360- - name : Pip list
361- run : pip list
390+ - name : List installed packages
391+ run : uv pip list
362392
363393 - name : Install Playwright
364394 run : playwright install chromium --with-deps
@@ -390,15 +420,19 @@ jobs:
390420 - name : Set up Python
391421 uses : actions/setup-python@v5
392422 with :
393- python-version : ' 3.12'
394- cache : ' pip' # caching pip dependencies
423+ python-version : " 3.12"
424+
425+ - name : Install uv
426+ uses : astral-sh/setup-uv@v4
427+ with :
428+ enable-cache : true
395429
396- - name : Pip install
430+ - name : Install dependencies
397431 working-directory : ./dev
398- run : pip install -r requirements.txt
432+ run : uv pip install -r requirements.txt
399433
400- - name : Pip list
401- run : pip list
434+ - name : List installed packages
435+ run : uv pip list
402436
403437 - name : Install Playwright
404438 run : playwright install chromium --with-deps
0 commit comments