@@ -292,32 +292,31 @@ jobs:
292
292
with :
293
293
python-version : ${{ matrix.python-version }}
294
294
cache : ' pip'
295
- - name : Install Robot Framework Browser on unix-like
296
- if : matrix.os != 'windows-latest'
295
+ - name : Install Robot Framework Browser
297
296
run : |
298
297
pip install uv
299
298
uv pip install ./robotframework_browser-*-py3-none-any.whl --python ${{ matrix.python-version }} --system
300
299
- name : Install Robot Framework BrowserBatteries on unix-like
301
- if : matrix.os != 'windows-latest' && matrix. node-version == '20 .x'
300
+ if : matrix.node-version == '22 .x'
302
301
run : |
303
302
uv pip install ./robotframework_browser_batteries-*-none-any.whl --python ${{ matrix.python-version }} --system
304
303
- name : Install node deps and python deps for test running
305
304
run : |
306
305
rfbrowser init
307
306
uv pip install wheel --python ${{ matrix.python-version }} --system
308
307
uv pip install -r Browser/dev-requirements.txt --python ${{ matrix.python-version }} --system
309
- - name : Test on unix-like os - serial mode - Browser
310
- if : matrix.os == 'ubuntu-latest'
308
+ - name : Test on unix-like os - serial mode - BrowserBatteries
309
+ if : matrix.os == 'ubuntu-latest' && matrix.node-version == '22.x'
311
310
env :
312
311
SYS_VAR_CI_INSTALL_TEST : 1
313
312
run : |
314
313
echo ${{ matrix.os }}
315
314
rm -rf Browser
316
315
export DISPLAY=:99.0
317
316
Xvfb -ac :99 -screen 0 1280x1024x16 > /dev/null 2>&1 &
318
- xvfb-run --auto-servernum invoke atest-robot --smoke
319
- - name : Test on unix-like os - serial mode - BrowserBatteries
320
- if : matrix.os == 'ubuntu-latest'
317
+ xvfb-run --auto-servernum invoke atest-robot --smoke --batteries
318
+ - name : Test on unix-like os - serial mode - Browse
319
+ if : matrix.os == 'ubuntu-latest' && matrix.node-version != '22.x'
321
320
env :
322
321
SYS_VAR_CI_INSTALL_TEST : 1
323
322
run : |
@@ -326,32 +325,31 @@ jobs:
326
325
export DISPLAY=:99.0
327
326
Xvfb -ac :99 -screen 0 1280x1024x16 > /dev/null 2>&1 &
328
327
xvfb-run --auto-servernum invoke atest-robot --smoke --batteries
329
- - name : Run Robot Framework tests on windows or macOS Browser
330
- if : ${{ matrix.os != 'ubuntu-latest' }}
328
+ - name : Run Robot Framework tests on windows or macOS BrowserBatteries
329
+ if : ${{ matrix.os != 'ubuntu-latest' }} && matrix.node-version == '22.x'
331
330
env :
332
331
SYS_VAR_CI_INSTALL_TEST : 1
333
332
run : |
334
- echo ${{ matrix.os }}
335
333
Remove-Item -Path .\Browser -Force -Recurse
336
334
invoke atest-robot --smoke
337
- - name : Run Robot Framework tests on windows or macOS BrowserBatteries
338
- if : ${{ matrix.os != 'ubuntu-latest' }}
335
+ - name : Run Robot Framework tests on windows or macOS Browser
336
+ if : ${{ matrix.os != 'ubuntu-latest' }} && matrix.node-version != '22.x'
339
337
env :
340
338
SYS_VAR_CI_INSTALL_TEST : 1
341
339
run : |
342
- echo ${{ matrix.os }}
343
340
Remove-Item -Path .\Browser -Force -Recurse
344
- invoke atest-robot --smoke --batteries
345
- - name : Uninstall on Linux or MacOS
346
- if : ${{ matrix.os != 'windows-latest' }}
341
+ invoke atest-robot --smoke
342
+ - name : Uninstall Browser and BrowserBatteries
343
+ if : matrix.node-version == '22.x'
347
344
run : |
348
345
rfbrowser clean-node
349
346
uv pip uninstall robotframework-browser --python ${{ matrix.python-version }} --system
350
- - name : Uninstall BrowserBatteries on Linux or MacOS
351
- if : ${{ matrix.os != 'windows-latest' }}
347
+ uv pip uninstall robotframework-browser-batteries --python ${{ matrix.python-version }} --system
348
+ - name : Uninstall Browser
349
+ if : matrix.node-version != '22.x'
352
350
run : |
353
351
rfbrowser clean-node
354
- uv pip uninstall robotframework-browser-batteries --python ${{ matrix.python-version }} --system
352
+ uv pip uninstall robotframework-browser --python ${{ matrix.python-version }} --system
355
353
- uses : actions/upload-artifact@v4
356
354
if : ${{ always() }}
357
355
with :
0 commit comments