From ebde5695e835429e57b896634e271ab8c1577277 Mon Sep 17 00:00:00 2001 From: alessandrofelder Date: Wed, 15 Nov 2023 17:14:46 +0000 Subject: [PATCH] Revert "run video tests on CI too" This reverts commit f0a0306de243d5801e653c75d52a2ac608f22933. Commit should have landed in `fix-video-test` branch! --- .github/workflows/test_and_deploy.yml | 4 ---- tests/test_video.py | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 4956edd6..e76ed9b4 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -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: diff --git a/tests/test_video.py b/tests/test_video.py index 61a984fb..a25934af 100644 --- a/tests/test_video.py +++ b/tests/test_video.py @@ -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") @@ -18,6 +21,7 @@ def test_video(): path.unlink() +@pytest.mark.local def test_video_custom(): def custom(scene, *args, **kwargs): return @@ -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)