Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83f709e

Browse files
committed
Test with Python 3.12
1 parent e0d65b6 commit 83f709e

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/tests.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ jobs:
5656
extra-requirements: '-r requirements/testing/extra.txt'
5757
- os: ubuntu-20.04
5858
python-version: '3.11'
59+
extra-requirements: '-r requirements/testing/extra.txt'
60+
- os: ubuntu-latest
61+
python-version: '3.12-dev'
5962
- os: macos-latest
6063
python-version: 3.8
6164

@@ -113,6 +116,9 @@ jobs:
113116
if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
114117
sudo apt install -yy libopengl0
115118
fi
119+
if [[ "${{ matrix.python-version }}" = "3.12-dev" ]]; then
120+
sudo apt install -yy webp
121+
fi
116122
;;
117123
macOS)
118124
brew install ccache
@@ -199,13 +205,11 @@ jobs:
199205
python -c 'import PyQt5.QtCore' &&
200206
echo 'PyQt5 is available' ||
201207
echo 'PyQt5 is not available'
202-
if [[ "${{ runner.os }}" != 'macOS' ]]; then
203-
python -mpip install --upgrade pyside2${{ matrix.pyside2-ver }} &&
204-
python -c 'import PySide2.QtCore' &&
205-
echo 'PySide2 is available' ||
206-
echo 'PySide2 is not available'
207-
fi
208208
if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
209+
python -mpip install --upgrade pyside2${{ matrix.pyside2-ver }} &&
210+
python -c 'import PySide2.QtCore' &&
211+
echo 'PySide2 is available' ||
212+
echo 'PySide2 is not available'
209213
python -mpip install --upgrade pyqt6${{ matrix.pyqt6-ver }} &&
210214
python -c 'import PyQt6.QtCore' &&
211215
echo 'PyQt6 is available' ||

0 commit comments

Comments
 (0)