@@ -38,11 +38,22 @@ jobs:
3838 with :
3939 python-version : 3.9
4040 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'
4251 run : |
4352 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
4657 - name : Build Protos and check with tsc
4758 if : matrix.os == 'ubuntu-latest'
4859 run : |
@@ -144,8 +155,10 @@ jobs:
144155 - name : Install python dependencies
145156 run : |
146157 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 }}
149162 - name : Build Protos and check with tsc
150163 run : |
151164 inv node-build
@@ -173,7 +186,7 @@ jobs:
173186 - name : Run pytests
174187 if : matrix.shard == 1
175188 run : |
176- invoke utest
189+ invoke utest
177190 - name : Run Robot Framework tests on linux
178191 if : matrix.os == 'ubuntu-latest'
179192 run : |
@@ -200,7 +213,7 @@ jobs:
200213 # flaky-tests-detection install is here because dependencies takes long
201214 # time to install and not needed for the test-install
202215 run : |
203- pip install flaky-tests-detection requests python-dateutil
216+ uv pip install flaky-tests-detection requests python-dateutil --python ${{ matrix.python-version }}
204217 python download_file.py --project MarketSquare --repo robotframework-browser --token ${{ secrets.GITHUB_TOKEN }}
205218 inv copy-xunit
206219 - name : Flaky tests detection
@@ -256,17 +269,19 @@ jobs:
256269 cache : ' pip'
257270 - name : Install Robot Framework Browser on unix-like
258271 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 }}
260274 if : matrix.os != 'windows-latest'
261275 - name : Install Robot Framework Browser on windows
262276 run : |
263- pip install (gci *.whl)
277+ pip install -U uv
278+ uv pip install (gci *.whl)--python ${{ matrix.python-version }}
264279 if : matrix.os == 'windows-latest'
265280 - name : Install node deps and python deps for test running
266281 run : |
267282 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 }}
270285 - name : Test on unix-like os - serial mode
271286 if : matrix.os == 'ubuntu-latest'
272287 env :
@@ -290,7 +305,7 @@ jobs:
290305 # flaky-tests-detection install is here because dependencies takes long
291306 # time to install and not needed for the test-install
292307 run : |
293- pip install flaky-tests-detection
308+ uv pip install flaky-tests-detection --python ${{ matrix.python-version }}
294309 python download_file.py --project MarketSquare --repo robotframework-browser --token ${{ secrets.GITHUB_TOKEN }}
295310 inv copy-xunit
296311 - name : Flaky tests detection
@@ -301,7 +316,7 @@ jobs:
301316 if : ${{ matrix.os != 'windows-latest' }}
302317 run : |
303318 rfbrowser clean-node
304- pip uninstall --yes robotframework-browser
319+ uv pip uninstall robotframework-browser --python ${{ matrix.python-version }}
305320 - uses : actions/upload-artifact@v4
306321 if : ${{ always() }}
307322 with :
0 commit comments