tethysplatform / tethys

The Tethys Platform main Django website project repository.
http://tethysplatform.org/
BSD 2-Clause "Simplified" License
94 stars 51 forks source link

[FEATURE] Add Git LFS Check to CI #1089

Open swainn opened 2 months ago

swainn commented 2 months ago

Is your feature request related to a problem? Please describe. If contributors commit files without using LFS that should have been added, it can cause headaches later. This stack overflow describes the issue: https://stackoverflow.com/questions/76412389/what-happens-when-git-lfs-is-not-installed

Describe the solution you'd like Add a step to the CI to check for files that should have been added to LFS, but weren't.

The command git lfs fsck --pointers BASE..HEAD (with suitable values of BASE and HEAD) may be used in your CI system to verify that nobody is introducing such problems.

Describe alternatives you've considered N/A

Additional context N/A