Skip to content

Commit

Permalink
Update AppVeyor config
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
QuLogic committed Mar 23, 2024
1 parent 47c96df commit dd220fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@ environment:
--cov-report= --cov=lib --log-level=DEBUG

matrix:
- PYTHON_VERSION: "3.9"
- PYTHON_VERSION: "3.11"
CONDA_INSTALL_LOCN: "C:\\Miniconda3-x64"
TEST_ALL: "no"
- PYTHON_VERSION: "3.10"
CONDA_INSTALL_LOCN: "C:\\Miniconda3-x64"
TEST_ALL: "no"
TEST_ALL: "yes"

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

# this are optional dependencies so that we don't skip so many tests...
- if x%TEST_ALL% == xyes conda install -q ffmpeg inkscape miktex
- if x%TEST_ALL% == xyes conda install -q ffmpeg inkscape
# miktex is available on conda, but seems to fail with permission errors.
# missing packages on conda-forge for imagemagick
# This install sometimes failed randomly :-(
# - choco install imagemagick
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/tests/test_tightlayout.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def test_tight_layout7():
plt.tight_layout()


@image_comparison(['tight_layout8'])
@image_comparison(['tight_layout8'], tol=0.005)
def test_tight_layout8():
"""Test automatic use of tight_layout."""
fig = plt.figure()
Expand Down

0 comments on commit dd220fa

Please sign in to comment.