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

Skip to content

Commit 9ac2ed4

Browse files
committed
Update AppVeyor config
AppVeyor is quite slow, but is also the only CI to check the conda environment, so cut it down to only one Python version. But also enable a few more things to see if they work.
1 parent acfef85 commit 9ac2ed4

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.appveyor.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,9 @@ environment:
2929
--cov-report= --cov=lib --log-level=DEBUG
3030

3131
matrix:
32-
- PYTHON_VERSION: "3.9"
32+
- PYTHON_VERSION: "3.11"
3333
CONDA_INSTALL_LOCN: "C:\\Miniconda3-x64"
34-
TEST_ALL: "no"
35-
- PYTHON_VERSION: "3.10"
36-
CONDA_INSTALL_LOCN: "C:\\Miniconda3-x64"
37-
TEST_ALL: "no"
34+
TEST_ALL: "yes"
3835

3936
# We always use a 64-bit machine, but can build x86 distributions
4037
# with the PYTHON_ARCH variable
@@ -77,7 +74,8 @@ test_script:
7774
- '"%DUMPBIN%" /DEPENDENTS lib\matplotlib\ft2font*.pyd | findstr freetype.*.dll && exit /b 1 || exit /b 0'
7875

7976
# this are optional dependencies so that we don't skip so many tests...
80-
- if x%TEST_ALL% == xyes conda install -q ffmpeg inkscape miktex
77+
- if x%TEST_ALL% == xyes conda install -q ffmpeg inkscape
78+
# miktex is available on conda, but seems to fail with permission errors.
8179
# missing packages on conda-forge for imagemagick
8280
# This install sometimes failed randomly :-(
8381
# - choco install imagemagick

lib/matplotlib/tests/test_tightlayout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def test_tight_layout7():
130130
plt.tight_layout()
131131

132132

133-
@image_comparison(['tight_layout8'])
133+
@image_comparison(['tight_layout8'], tol=0.005)
134134
def test_tight_layout8():
135135
"""Test automatic use of tight_layout."""
136136
fig = plt.figure()

0 commit comments

Comments
 (0)