From e50d48e94bd7ab499f6f6348a173667449f98b80 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Tue, 21 Jan 2025 10:44:16 +0100 Subject: [PATCH] [ci] Use non-interactive matplotlib backend on Windows. Fixes FAILED tests/test_plot.py::TestPlotting::test_save_animation - _tkinter.TclError: invalid command name "tcl_findLibrary" See e.g. https://github.com/materialsproject/pymatgen/pull/4168 --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a64ac217a..817d7e86f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -152,6 +152,8 @@ tests (win - pip) [R]: rules: - *regression-rules needs: [] + variables: + MPLBACKEND: Agg # non-interactive backend for matplotlib before_script: - python -m venv .venv - .venv\Scripts\Activate.ps1 -- GitLab