Skip to content

Commit

Permalink
Revert "run video tests on CI too"
Browse files Browse the repository at this point in the history
This reverts commit f0a0306.
Commit should have landed in `fix-video-test` branch!
  • Loading branch information
alessandrofelder committed Nov 15, 2023
1 parent f0a0306 commit ebde569
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ jobs:
# Helps set up VTK with a headless display
- uses: pyvista/setup-headless-display-action@v2

# Sets up ffmpeg to we can run video tests on CI
- uses: FedericoCarboni/setup-ffmpeg@v2
id: setup-ffmpeg

# Run tests
- uses: neuroinformatics-unit/actions/test@v2
with:
Expand Down
5 changes: 5 additions & 0 deletions tests/test_video.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
from pathlib import Path

import pytest

from brainrender.scene import Scene
from brainrender.video import Animation, VideoMaker


@pytest.mark.local
def test_video():
s = Scene(title="BR")

Expand All @@ -18,6 +21,7 @@ def test_video():
path.unlink()


@pytest.mark.local
def test_video_custom():
def custom(scene, *args, **kwargs):
return
Expand All @@ -36,6 +40,7 @@ def custom(scene, *args, **kwargs):
path.unlink()


@pytest.mark.local
def test_animation():
# Create a brainrender scene
scene = Scene(title="brain regions", inset=False)
Expand Down

0 comments on commit ebde569

Please sign in to comment.