diff --git a/ultraplot/tests/test_demos.py b/ultraplot/tests/test_demos.py index ebaf9a24d..f76d86ffd 100644 --- a/ultraplot/tests/test_demos.py +++ b/ultraplot/tests/test_demos.py @@ -1,7 +1,12 @@ -import numpy as np, pytest, ultraplot as plt +import numpy as np, pytest, ultraplot as plt, os import matplotlib.font_manager as mfonts import ultraplot.demos as demos +# Skip all tests in this module when running on GitHub Actions +pytestmark = pytest.mark.skipif( + os.getenv("GITHUB_ACTIONS") == "true", reason="Skip tests on GitHub Actions" +) + def test_show_channels_requires_arg(): """show_channels should raise when no positional colormap is provided."""