brainglobe / brainrender

a python based software for visualization of neuroanatomical and morphological data.
https://brainglobe.info/documentation/brainrender/index.html
BSD 3-Clause "New" or "Revised" License
547 stars 77 forks source link

Fix video test #276

Closed alessandrofelder closed 11 months ago

alessandrofelder commented 11 months ago

⚠️ Depends on #277 being merged first

Description

What is this PR

Why is this PR needed? The local video tests fail because we don't install, or document anywhere explicit, (AFAICT) that ffmpeg is needed (the command line tool).

What does this PR do? Makes the video tests not local, and sets up ffmpeg on CI.

References

People have struggled with this before: #202

How has this PR been tested?

This PR adds extra tests (previously only run locally) to the CI

Is this a breaking change?

No

Does this PR require an update to the documentation?

No

Checklist:

codecov[bot] commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (02b7565) 72.44% compared to head (f5a2de0) 81.15%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## mega-fix #276 +/- ## ============================================ + Coverage 72.44% 81.15% +8.71% ============================================ Files 26 26 Lines 1194 1194 ============================================ + Hits 865 969 +104 + Misses 329 225 -104 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

alessandrofelder commented 11 months ago

I'll try to rebase and then merge