Skip to content

Commit cfa4d10

Browse files
committed
CI: try moving the test images on GHA
1 parent e47cfea commit cfa4d10

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,11 +299,24 @@ jobs:
299299
rm -rf ~/.cache/matplotlib
300300
if: matrix.delete-font-cache
301301

302+
- name: extract baseline images
303+
run: |
304+
mkdir -p /tmp/test_images/matplotlib/tests
305+
mv lib/matplotlib/tests/baseline_images /tmp/test_images/matplotlib/tests
306+
mkdir -p /tmp/test_images/mpl_toolkits/axes_grid1/tests/
307+
mv lib/mpl_toolkits/axes_grid1/tests/baseline_images /tmp/test_images/mpl_toolkits/axes_grid1/tests/
308+
mkdir -p /tmp/test_images/mpl_toolkits/axisartist/tests/
309+
mv lib/mpl_toolkits/axisartist/tests/baseline_images /tmp/test_images/mpl_toolkits/axisartist/tests/
310+
mkdir -p /tmp/test_images/mpl_toolkits/mplot3d/tests/
311+
mv lib/mpl_toolkits/mplot3d/tests/baseline_images /tmp/test_images/mpl_toolkits/mplot3d/tests/
312+
302313
- name: Run pytest
303314
run: |
304315
python -mpytest -raR -n auto \
305316
--maxfail=50 --timeout=300 --durations=25 \
306317
--cov-report=xml --cov=lib --log-level=DEBUG --color=yes
318+
env:
319+
MPLTESTIMAGEPATH: /tmp/test_imags
307320

308321
- name: Filter C coverage
309322
run: |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy