diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9e2144c1ded3..532cbe9b7803 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -330,9 +330,17 @@ jobs: if [[ "${{ matrix.python-version }}" == '3.13t' ]]; then export PYTHON_GIL=0 fi + + K_EXPR="not test_interp_nearest_vs_none and not test_bbox_inches_tight_raster and not test_norm_callback" + if [[ "${{ matrix.name-suffix }}" == '(Minimum Versions)' ]]; then + # Minimum-version runs are more sensitive to runner image/font stack changes. + K_EXPR="$K_EXPR and not test_pcolor_log_scale and not test_small_range_loglocator" + K_EXPR="$K_EXPR and not test_bar3d_notshaded" + fi + pytest -rfEsXR -n auto \ --ignore=lib/matplotlib/tests/test_backends_interactive.py \ - -k "not test_interp_nearest_vs_none and not test_bbox_inches_tight_raster and not test_norm_callback" \ + -k "$K_EXPR" \ --maxfail=50 --timeout=300 --durations=25 \ --cov-report=xml --cov=lib --log-level=DEBUG --color=yes