@@ -38,11 +38,22 @@ jobs:
38
38
with :
39
39
python-version : 3.9
40
40
cache : ' pip'
41
- - name : Install python dependencies
41
+ - name : Install python dependencies in Linux
42
+ if : matrix.os == 'ubuntu-latest'
43
+ run : |
44
+ python -m pip install --upgrade pip
45
+ pip install uv
46
+ uv venv
47
+ uv pip install wheel --python python3.9
48
+ uv pip install -r Browser/dev-requirements.txt --python python3.9
49
+ - name : Install python dependencies in Windows
50
+ if : matrix.os != 'ubuntu-latest'
42
51
run : |
43
52
python -m pip install --upgrade pip
44
- pip install wheel
45
- pip install -r Browser/dev-requirements.txt
53
+ pip install uv
54
+ uv venv
55
+ uv pip install wheel --python python3.9
56
+ uv pip install -r Browser/dev-requirements.txt --python 3.9
46
57
- name : Build Protos and check with tsc
47
58
if : matrix.os == 'ubuntu-latest'
48
59
run : |
@@ -144,8 +155,10 @@ jobs:
144
155
- name : Install python dependencies
145
156
run : |
146
157
python -m pip install --upgrade pip
147
- pip install wheel
148
- pip install -r Browser/dev-requirements.txt
158
+ pip install uv
159
+ uv venv
160
+ uv pip install wheel --python ${{ matrix.python-version }}
161
+ uv pip install -r Browser/dev-requirements.txt --python ${{ matrix.python-version }}
149
162
- name : Build Protos and check with tsc
150
163
run : |
151
164
inv node-build
@@ -173,7 +186,7 @@ jobs:
173
186
- name : Run pytests
174
187
if : matrix.shard == 1
175
188
run : |
176
- invoke utest
189
+ invoke utest
177
190
- name : Run Robot Framework tests on linux
178
191
if : matrix.os == 'ubuntu-latest'
179
192
run : |
@@ -200,7 +213,7 @@ jobs:
200
213
# flaky-tests-detection install is here because dependencies takes long
201
214
# time to install and not needed for the test-install
202
215
run : |
203
- pip install flaky-tests-detection requests python-dateutil
216
+ uv pip install flaky-tests-detection requests python-dateutil --python ${{ matrix.python-version }}
204
217
python download_file.py --project MarketSquare --repo robotframework-browser --token ${{ secrets.GITHUB_TOKEN }}
205
218
inv copy-xunit
206
219
- name : Flaky tests detection
@@ -256,17 +269,19 @@ jobs:
256
269
cache : ' pip'
257
270
- name : Install Robot Framework Browser on unix-like
258
271
run : |
259
- pip install ./robotframework_browser-*-py3-none-any.whl
272
+ pip install -U uv
273
+ uv pip install ./robotframework_browser-*-py3-none-any.whl --python ${{ matrix.python-version }}
260
274
if : matrix.os != 'windows-latest'
261
275
- name : Install Robot Framework Browser on windows
262
276
run : |
263
- pip install (gci *.whl)
277
+ pip install -U uv
278
+ uv pip install (gci *.whl)--python ${{ matrix.python-version }}
264
279
if : matrix.os == 'windows-latest'
265
280
- name : Install node deps and python deps for test running
266
281
run : |
267
282
rfbrowser init
268
- pip install wheel
269
- pip install -r Browser/dev-requirements.txt
283
+ uv pip install wheel --python ${{ matrix.python-version }}
284
+ uv pip install -r Browser/dev-requirements.txt --python ${{ matrix.python-version }}
270
285
- name : Test on unix-like os - serial mode
271
286
if : matrix.os == 'ubuntu-latest'
272
287
env :
@@ -290,7 +305,7 @@ jobs:
290
305
# flaky-tests-detection install is here because dependencies takes long
291
306
# time to install and not needed for the test-install
292
307
run : |
293
- pip install flaky-tests-detection
308
+ uv pip install flaky-tests-detection --python ${{ matrix.python-version }}
294
309
python download_file.py --project MarketSquare --repo robotframework-browser --token ${{ secrets.GITHUB_TOKEN }}
295
310
inv copy-xunit
296
311
- name : Flaky tests detection
@@ -301,7 +316,7 @@ jobs:
301
316
if : ${{ matrix.os != 'windows-latest' }}
302
317
run : |
303
318
rfbrowser clean-node
304
- pip uninstall --yes robotframework-browser
319
+ uv pip uninstall robotframework-browser --python ${{ matrix.python-version }}
305
320
- uses : actions/upload-artifact@v4
306
321
if : ${{ always() }}
307
322
with :
0 commit comments