A community-maintained Python framework for creating mathematical animations.
CI: Add support for using Opengl in Subprocess (Windows) (#1987)
Naveenfb680235bb36
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex ba9a87a15..18646f7cd 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -13,6 +13,7 @@ jobs:env:DISPLAY: :0PYTEST_ADDOPTS: "--color=yes" # colors in pytest+ GLCONTEXT_WIN_LIBGL: C:\msys64\mingw64\bin\opengl32.dllstrategy:fail-fast: falsematrix:diff --git a/tests/__init__.py b/tests/__init__.pyindex 27e33d1ad..e69de29bb 100644--- a/tests/__init__.py+++ b/tests/__init__.py@@ -1,10 +0,0 @@-import os--if os.getenv("CI") and os.name == "nt":- location = r"C:\msys64\mingw64\bin"- os.environ["PATH"] = location + os.pathsep + os.getenv("PATH")- import ctypes-- ctypes.CDLL(r"C:\msys64\mingw64\bin\OPENGL32.dll")- if hasattr(os, "add_dll_directory"):- os.add_dll_directory(location)