3636 - setup.py
3737 - webdriver_manager/__init__.py
3838
39+ permissions :
40+ contents : read
41+ id-token : write
42+
3943jobs :
4044 test :
4145 runs-on : ${{ matrix.os }}
@@ -44,24 +48,24 @@ jobs:
4448 strategy :
4549 fail-fast : false
4650 matrix :
47- python-version : ['3.11 ']
51+ python-version : ['3.12 ']
4852 selenium-version : ['4.10.0']
4953 os : [ windows-latest ]
5054 wdm-log : ['']
5155 include :
52- - python-version : ' 3.11 '
56+ - python-version : ' 3.12 '
5357 selenium-version : ' 4.10.0'
5458 os : ubuntu-latest
55- - python-version : ' 3.11 '
59+ - python-version : ' 3.12 '
5660 selenium-version : ' 4.10.0'
5761 os : macos-latest
5862 wdm-log : ' 0'
5963
6064 steps :
61- - uses : actions/checkout@v3
65+ - uses : actions/checkout@v6
6266
6367 - name : Set up Python ${{ matrix.python-version }}
64- uses : actions/setup-python@v4
68+ uses : actions/setup-python@v5
6569 with :
6670 python-version : ${{ matrix.python-version }}
6771
@@ -147,11 +151,57 @@ jobs:
147151 pipenv run py.test -s -o console_output_style=progress -o log_cli=false -v --cov-config .coveragerc --cov-report xml --cov-report term:skip-covered --cov=webdriver_manager --tb=short tests/
148152
149153 - name : Codecov Upload
150- uses : codecov/codecov-action@v3
154+ uses : codecov/codecov-action@v5
151155 if : always()
152156 with :
153157 file : ./coverage.xml
154158 name : ${{ matrix.os }}-py${{ matrix.python-version }}
159+ use_oidc : true
160+
161+ test-future-python :
162+ continue-on-error : true
163+ runs-on : ubuntu-latest
164+ env :
165+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
166+ strategy :
167+ fail-fast : false
168+ matrix :
169+ python-version : [ '3.14', '3.15.0-beta.1' ]
170+ allow-prereleases : true
171+ selenium-version : [ '4.10.0' ]
172+
173+ steps :
174+ - uses : actions/checkout@v6
175+
176+ - name : Set up Python ${{ matrix.python-version }}
177+ uses : actions/setup-python@v6
178+ with :
179+ python-version : ${{ matrix.python-version }}
180+ allow-prereleases : true
181+
182+ - name : Install browsers on Linux
183+ run : |
184+ sudo apt-get update
185+ sudo apt-get install -y software-properties-common apt-transport-https wget curl xvfb
186+
187+ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
188+ sudo dpkg -i google-chrome-stable_current_amd64.deb
189+
190+ - name : Install Python dependencies
191+ run : |
192+ python -m pip install -U pip wheel
193+ pip install pipenv
194+ pipenv install --dev --skip-lock --python=${{ matrix.python-version }}
195+ pipenv install selenium==${{ matrix.selenium-version }}
196+
197+ - name : Run tests on Linux (future Python, non-blocking)
198+ run : |
199+ xvfb-run -a pipenv run py.test -s \
200+ -o console_output_style=progress \
201+ -o log_cli=false \
202+ -v \
203+ --tb=short \
204+ tests/
155205
156206 test-negative :
157207 runs-on : ${{ matrix.os }}
@@ -165,10 +215,10 @@ jobs:
165215 os : [ ubuntu-latest ]
166216
167217 steps :
168- - uses : actions/checkout@v3
218+ - uses : actions/checkout@v6
169219
170220 - name : Set up Python ${{ matrix.python-version }}
171- uses : actions/setup-python@v4
221+ uses : actions/setup-python@v6
172222 with :
173223 python-version : ${{ matrix.python-version }}
174224
@@ -206,8 +256,9 @@ jobs:
206256 tests_negative/
207257
208258 - name : Codecov Upload
209- uses : codecov/codecov-action@v3
259+ uses : codecov/codecov-action@v5
210260 if : always()
211261 with :
212262 file : ./coverage.xml
213263 name : ${{ matrix.os }}-py${{ matrix.python-version }}
264+ use_oidc : true
0 commit comments