2626 run : uv pip install black[jupyter]==24.2.0 blacken-docs
2727
2828 - name : Code Formatting
29- run : black . --check
29+ run : uv run black . --check
3030
3131 agentlab :
3232 runs-on : ubuntu-22.04
7373 port : 8080
7474
7575 - name : Pre-download tokenizer ressources (for WebArena)
76- run : python -c "import nltk; nltk.download('punkt_tab')"
76+ run : uv run python -c "import nltk; nltk.download('punkt_tab')"
7777
7878 # - name: Run AgentLab Unit Tests
7979 # env:
@@ -102,10 +102,10 @@ jobs:
102102 run : uv pip list
103103
104104 - name : Install Playwright
105- run : playwright install chromium --with-deps
105+ run : uv run playwright install chromium --with-deps
106106
107107 - name : Run browsergym-core Unit Tests
108- run : pytest -n 5 --durations=10 -m 'not pricy' -v tests/core
108+ run : uv run pytest -n 5 --durations=10 -m 'not pricy' -v tests/core
109109
110110 browsergym-miniwob :
111111 runs-on : ubuntu-22.04
@@ -129,7 +129,7 @@ jobs:
129129 run : uv pip list
130130
131131 - name : Install Playwright
132- run : playwright install chromium --with-deps
132+ run : uv run playwright install chromium --with-deps
133133
134134 - name : Fetch MiniWob
135135 uses : actions/checkout@v4
@@ -147,7 +147,7 @@ jobs:
147147 - name : Run browsergym-miniwob Unit Tests
148148 env :
149149 MINIWOB_URL : " http://localhost:8080/miniwob/"
150- run : pytest -n 5 --durations=10 -m 'not pricy' -v tests/miniwob
150+ run : uv run pytest -n 5 --durations=10 -m 'not pricy' -v tests/miniwob
151151
152152 browsergym-experiments :
153153 runs-on : ubuntu-22.04
@@ -171,7 +171,7 @@ jobs:
171171 run : uv pip list
172172
173173 - name : Install Playwright
174- run : playwright install chromium --with-deps
174+ run : uv run playwright install chromium --with-deps
175175
176176 - name : Fetch MiniWob
177177 uses : actions/checkout@v4
@@ -190,7 +190,7 @@ jobs:
190190 env :
191191 MINIWOB_URL : " http://localhost:8080/miniwob/"
192192 BROWSERGYM_WEBLINX_CACHE_DIR : " ${{ runner.temp }}/weblinx_data"
193- run : pytest -n 5 --durations=10 -m 'not pricy' -v tests/experiments
193+ run : uv run pytest -n 5 --durations=10 -m 'not pricy' -v tests/experiments
194194
195195 browsergym-webarena-fast :
196196 runs-on : ubuntu-22.04
@@ -215,7 +215,7 @@ jobs:
215215 run : uv pip list
216216
217217 - name : Install Playwright
218- run : playwright install chromium --with-deps
218+ run : uv run playwright install chromium --with-deps
219219
220220 - name : Run browsergym-webarena not slow Unit Tests
221221 env :
@@ -227,7 +227,7 @@ jobs:
227227 WA_MAP : " ${{ vars.WA_MAP }}"
228228 WA_HOMEPAGE : " ${{ vars.WA_HOMEPAGE }}"
229229 OPENAI_API_KEY : " "
230- run : pytest -n 5 --durations=10 -m 'not slow and not pricy' --slowmo 1000 -v tests/webarena
230+ run : uv run pytest -n 5 --durations=10 -m 'not slow and not pricy' --slowmo 1000 -v tests/webarena
231231
232232 browsergym-webarena-slow :
233233 runs-on : ubuntu-22.04
@@ -253,7 +253,7 @@ jobs:
253253 run : uv pip list
254254
255255 - name : Install Playwright
256- run : playwright install chromium --with-deps
256+ run : uv run playwright install chromium --with-deps
257257
258258 - name : Run browsergym-webarena slow Unit Tests
259259 env :
@@ -265,7 +265,7 @@ jobs:
265265 WA_MAP : " ${{ vars.WA_MAP }}"
266266 WA_HOMEPAGE : " ${{ vars.WA_HOMEPAGE }}"
267267 OPENAI_API_KEY : " "
268- run : pytest -n 5 --durations=10 -m 'slow and not pricy' --slowmo 1000 -v tests/webarena
268+ run : uv run pytest -n 5 --durations=10 -m 'slow and not pricy' --slowmo 1000 -v tests/webarena
269269
270270 browsergym-visualwebarena-fast :
271271 runs-on : ubuntu-22.04
@@ -290,7 +290,7 @@ jobs:
290290 run : uv pip list
291291
292292 - name : Install Playwright
293- run : playwright install chromium --with-deps
293+ run : uv run playwright install chromium --with-deps
294294
295295 - name : Run browsergym-visualwebarena not slow Unit Tests
296296 env :
@@ -302,7 +302,7 @@ jobs:
302302 VWA_HOMEPAGE : " ${{ vars.VWA_HOMEPAGE }}"
303303 OPENAI_API_KEY : " "
304304 run : |
305- pytest -n 5 --durations=10 -m 'not slow and not pricy' --slowmo 1000 -v tests/visualwebarena
305+ uv run pytest -n 5 --durations=10 -m 'not slow and not pricy' --slowmo 1000 -v tests/visualwebarena
306306
307307 browsergym-visualwebarena-slow :
308308 runs-on : ubuntu-22.04
@@ -328,7 +328,7 @@ jobs:
328328 run : uv pip list
329329
330330 - name : Install Playwright
331- run : playwright install chromium --with-deps
331+ run : uv run playwright install chromium --with-deps
332332
333333 - name : Run browsergym-visualwebarena slow Unit Tests
334334 env :
@@ -340,8 +340,8 @@ jobs:
340340 VWA_HOMEPAGE : " ${{ vars.VWA_HOMEPAGE }}"
341341 OPENAI_API_KEY : " "
342342 run : |
343- pytest -n 5 --durations=10 -m 'slow and not pricy and not serial' --slowmo 1000 -v tests/visualwebarena
344- pytest --durations=10 -m 'slow and not pricy and serial' --slowmo 1000 -v tests/visualwebarena
343+ uv run pytest -n 5 --durations=10 -m 'slow and not pricy and not serial' --slowmo 1000 -v tests/visualwebarena
344+ uv run pytest --durations=10 -m 'slow and not pricy and serial' --slowmo 1000 -v tests/visualwebarena
345345
346346 browsergym-assistantbench :
347347 runs-on : ubuntu-22.04
@@ -365,7 +365,7 @@ jobs:
365365 run : uv pip list
366366
367367 - name : Install Playwright
368- run : playwright install chromium --with-deps
368+ run : uv run playwright install chromium --with-deps
369369
370370 - name : Run browsergym-assistantbench Unit Tests
371371 env :
@@ -377,4 +377,4 @@ jobs:
377377 VWA_HOMEPAGE : " ${{ vars.VWA_HOMEPAGE }}"
378378 OPENAI_API_KEY : " "
379379 run : |
380- pytest -n 5 --durations=10 -m 'not pricy' --slowmo 1000 -v tests/assistantbench
380+ uv run pytest -n 5 --durations=10 -m 'not pricy' --slowmo 1000 -v tests/assistantbench
0 commit comments