@@ -48,13 +48,24 @@ jobs:
4848 uses : actions/setup-python@v5
4949 with :
5050 python-version : 3.8
51- - name : Install dependencies nightly
52- if : matrix.release == 'nightly'
53- working-directory : ./examples/python
51+ - name : Install dependencies nightly non-Windows
52+ if : matrix.release == 'nightly' && matrix.os != 'windows'
53+ run : |
54+ pip install -r ./scripts/requirements.txt
55+ latest_nightly_python=$(python ./scripts/latest-python-nightly-version.py)
56+ cd examples/python
57+ python -m pip install --upgrade pip
58+ pip install -r requirements.txt
59+ pip install --index-url https://test.pypi.org/simple/ selenium==$latest_nightly_python --extra-index-url https://pypi.org/simple/ --upgrade --force-reinstall --break-system-packages
60+ - name : Install dependencies nightly Windows
61+ if : matrix.release == 'nightly' && matrix.os == 'windows'
5462 run : |
63+ pip install -r ./scripts/requirements.txt
64+ $latest_nightly_python = python ./scripts/latest-python-nightly-version.py
65+ cd examples/python
5566 python -m pip install --upgrade pip
5667 pip install -r requirements.txt
57- pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple --force-reinstall -v selenium
68+ pip install --index-url https://test.pypi.org/simple/ selenium==$latest_nightly_python --extra-index-url https://pypi.org/simple/ --upgrade -- force-reinstall --break-system-packages
5869 - name : Install dependencies stable
5970 if : matrix.release == 'stable'
6071 working-directory : ./examples/python
0 commit comments