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

Skip to content

Commit bfca152

Browse files
timhoffmrcomer
authored andcommitted
Backport PR #29796: ci: rotate soon-to-be-unsupported GitHub Actions ubuntu-20.04 runner out of roster
(cherry picked from commit 0d11978)
1 parent f14a736 commit bfca152

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -48,26 +48,17 @@ jobs:
4848
matrix:
4949
include:
5050
- name-suffix: "(Minimum Versions)"
51-
os: ubuntu-20.04
52-
python-version: '3.10'
51+
os: ubuntu-22.04
52+
python-version: '3.11'
5353
extra-requirements: '-c requirements/testing/minver.txt'
5454
delete-font-cache: true
55-
# Oldest versions with Py3.10 wheels.
56-
pyqt5-ver: '==5.15.5 sip==6.3.0'
57-
pyqt6-ver: '==6.2.0 PyQt6-Qt6==6.2.0'
58-
pyside2-ver: '==5.15.2.1'
59-
pyside6-ver: '==6.2.0'
60-
- os: ubuntu-20.04
61-
python-version: '3.10'
62-
extra-requirements: '-r requirements/testing/extra.txt'
63-
CFLAGS: "-fno-lto" # Ensure that disabling LTO works.
64-
# https://github.com/matplotlib/matplotlib/pull/26052#issuecomment-1574595954
6555
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
66-
pyqt6-ver: '!=6.5.1,!=6.6.0,!=6.7.1'
56+
pyqt6-ver: '!=6.6.0'
6757
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
6858
pyside6-ver: '!=6.5.1'
6959
- os: ubuntu-22.04
7060
python-version: '3.11'
61+
CFLAGS: "-fno-lto" # Ensure that disabling LTO works.
7162
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
7263
pyqt6-ver: '!=6.6.0'
7364
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
@@ -175,11 +166,7 @@ jobs:
175166
texlive-luatex \
176167
texlive-pictures \
177168
texlive-xetex
178-
if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
179-
sudo apt-get install -yy --no-install-recommends libopengl0
180-
else # ubuntu-22.04
181-
sudo apt-get install -yy --no-install-recommends gir1.2-gtk-4.0
182-
fi
169+
sudo apt-get install -yy --no-install-recommends gir1.2-gtk-4.0
183170
;;
184171
macOS)
185172
brew update

0 commit comments

Comments
 (0)