|
76 | 76 | python-version: '3.13t'
|
77 | 77 | # https://github.com/matplotlib/matplotlib/issues/29844
|
78 | 78 | pygobject-ver: '<3.52.0'
|
| 79 | + skip-interactive-backend-builds: true |
79 | 80 | - os: ubuntu-24.04
|
80 | 81 | python-version: '3.12'
|
81 | 82 | - os: macos-13 # This runner is on Intel chips.
|
|
92 | 93 | - name-suffix: "(Python pre-release)"
|
93 | 94 | os: ubuntu-24.04
|
94 | 95 | python-version: '3.14-dev'
|
| 96 | + skip-interactive-backend-builds: true |
95 | 97 |
|
96 | 98 | steps:
|
97 | 99 | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
@@ -249,7 +251,7 @@ jobs:
|
249 | 251 | # Sphinx is needed to run sphinxext tests
|
250 | 252 | python -m pip install --upgrade sphinx!=6.1.2
|
251 | 253
8000
|
|
252 |
| - if [[ "${{ matrix.python-version }}" != '3.13t' ]]; then |
| 254 | + if [[ "${{ matrix.skip-interactive-backend-builds }}" != "true" ]]; then |
253 | 255 | # GUI toolkits are pip-installable only for some versions of Python
|
254 | 256 | # so don't fail if we can't install them. Make it easier to check
|
255 | 257 | # whether the install was successful by trying to import the toolkit
|
@@ -300,7 +302,7 @@ jobs:
|
300 | 302 | echo 'wxPython is available' ||
|
301 | 303 | echo 'wxPython is not available'
|
302 | 304 |
|
303 |
| - fi # Skip backends on Python 3.13t. |
| 305 | + fi # skip-interactive-backend-builds |
304 | 306 |
|
305 | 307 | - name: Install the nightly dependencies
|
306 | 308 | # Only install the nightly dependencies during the scheduled event
|
@@ -350,7 +352,12 @@ jobs:
|
350 | 352 | if [[ "${{ matrix.python-version }}" == '3.13t' ]]; then
|
351 | 353 | export PYTHON_GIL=0
|
352 | 354 | fi
|
353 |
| - pytest -rfEsXR -n auto \ |
| 355 | + if "${{ contains(matrix.name-suffix, 'pre-release') }}"; then |
| 356 | + FLAGS=(-k 'not test_backends_interactive') |
| 357 | + else |
| 358 | + FLAGS=() |
| 359 | + fi |
| 360 | + pytest -rfEsXR -n auto "${FLAGS[@]}" \ |
354 | 361 | --maxfail=50 --timeout=300 --durations=25 \
|
355 | 362 | --cov-report=xml --cov=lib --log-level=DEBUG --color=yes
|
356 | 363 |
|
|
0 commit comments