Skip to content

Commit

Permalink
run video tests on CI too
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrofelder committed Nov 15, 2023
1 parent ebde569 commit 98e8b5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ 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: 0 additions & 5 deletions tests/test_video.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
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 @@ -21,7 +18,6 @@ def test_video():
path.unlink()


@pytest.mark.local
def test_video_custom():
def custom(scene, *args, **kwargs):
return
Expand All @@ -40,7 +36,6 @@ 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 98e8b5b

Please sign in to comment.