diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index e76ed9b4..4956edd6 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -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: diff --git a/tests/test_video.py b/tests/test_video.py index a25934af..61a984fb 100644 --- a/tests/test_video.py +++ b/tests/test_video.py @@ -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") @@ -21,7 +18,6 @@ def test_video(): path.unlink() -@pytest.mark.local def test_video_custom(): def custom(scene, *args, **kwargs): return @@ -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)