8000 Test with Python 3.12 · matplotlib/matplotlib@b1b212d · GitHub
[go: up one dir, main page]

Skip to content

Commit b1b212d

Browse files
committed
Test with Python 3.12
1 parent e0d65b6 commit b1b212d

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 4 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

@@ -200,10 +203,12 @@ jobs:
200203
echo 'PyQt5 is available' ||
201204
echo 'PyQt5 is not available'
202205
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'
206+
if [[ "${{ matrix.python-version}}" != 'py3.12-dev']]; then
207+
python -mpip install --upgrade pyside2${{ matrix.pyside2-ver }} &&
208+
python -c 'import PySide2.QtCore' &&
209+
echo 'PySide2 is available' ||
210+
echo 'PySide2 is not available'
211+
fi
207212
fi
208213
if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
209214
python -mpip install --upgrade pyqt6${{ matrix.pyqt6-ver }} &&

0 commit comments

Comments
 (0)
0