Skip to content

Commit

Permalink
tests: fix headless in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
younesStrittmatter committed Mar 5, 2025
1 parent b560bf4 commit cf1c42c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_stimuli.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ def test_compile_stimulus(stimulus_class):
assert os.path.exists(html_path), f"{stimulus_class.__name__} didn't create HTML!"

# 2) Run the HTML in browser
if os.getenv("CI") and platform.system() == "Linux":
if os.getenv("CI") and (
platform.system() == "Linux" or platform.system() == "Windows"
):
print("Skipping browser test on CI Ubuntu do to limited resources on GitHub.")
else:
if stimulus_class.__name__ not in SKIP:
Expand Down

0 comments on commit cf1c42c

Please sign in to comment.