Skip to content

Commit 9a80304

Browse files
authored
Merge pull request #29949 from rcomer/auto-backport-of-pr-29796-on-v3.10.x
Backport PR #29796 on branch v3.10.x: ci: rotate soon-to-be-unsupported GitHub Actions ubuntu-20.04 runner out of roster
2 parents 110b6af + 704c239 commit 9a80304

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

.github/workflows/tests.yml

+3-15
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
matrix:
4949
include:
5050
- name-suffix: "(Minimum Versions)"
51-
os: ubuntu-20.04
51+
os: ubuntu-22.04
5252
python-version: '3.10'
5353
extra-requirements: '-c requirements/testing/minver.txt'
5454
delete-font-cache: true
@@ -57,17 +57,9 @@ jobs:
5757
pyqt6-ver: '==6.2.0 PyQt6-Qt6==6.2.0'
5858
pyside2-ver: '==5.15.2.1'
5959
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
65-
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
66-
pyqt6-ver: '!=6.5.1,!=6.6.0,!=6.7.1'
67-
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
68-
pyside6-ver: '!=6.5.1'
6960
- os: ubuntu-22.04
7061
python-version: '3.11'
62+
CFLAGS: "-fno-lto" # Ensure that disabling LTO works.
7163
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
7264
pyqt6-ver: '!=6.6.0'
7365
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
@@ -175,11 +167,7 @@ jobs:
175167
texlive-luatex \
176168
texlive-pictures \
177169
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
170+
sudo apt-get install -yy --no-install-recommends gir1.2-gtk-4.0
183171
;;
184172
macOS)
185173
brew update

0 commit comments

Comments
 (0)