Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(ci): skipif Windows in workflows
  • Loading branch information
jeertmans committed Oct 18, 2023
commit 57da2d4b4d781c4b2b32c248050bdf06062f77f2
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
MANIM_SLIDES_VERBOSITY: debug
PYTHONFAULTHANDLER: 1
DISPLAY: :99
GITHUB_WORKFLOWS: 1
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
9 changes: 8 additions & 1 deletion tests/test_slide.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import random
import shutil
import subprocess
Expand Down Expand Up @@ -43,7 +44,13 @@ def manimgl_cli(ctx: click.Context) -> None:
["cli"],
[
[manim_cli],
[manimgl_cli],
pytest.param(
manimgl_cli,
marks=pytest.mark.skipif(
sys.platform == "win32" and os.environ.get("GITHUB_WORKFLOWS"),
reason="OpenGL cannot be installed on Windows in GitHub workflows",
),
),
],
)

Expand Down