1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 14:49:06 -04:00

CI: check that all png images are on git LFS (#5321)

To prevent egui repository from growing forever

* Sibling PR: https://github.com/emilk/egui/pull/5320
This commit is contained in:
Emil Ernerfeldt
2024-10-29 10:30:25 +01:00
committed by GitHub
parent 9e763fcc01
commit 68352fc13e
2 changed files with 26 additions and 1 deletions

View File

@@ -35,9 +35,11 @@ You can test your code locally by running `./scripts/check.sh`.
There are snapshots test that might need to be updated. Run the tests with `UPDATE_SNAPSHOTS=true` to update them.
For more info about the tests see [egui_kittest](./crates/egui_kittest/README.md).
We use [git-lfs](https://git-lfs.com/) to store big files in the repository.
We use [git-lfs](https://git-lfs.com/) to store big files in the repository.
Make sure you have it installed (running `git lfs ls-files` from the repository root should list some files).
Don't forget to run `git lfs install` after installing the git-lfs binary.
You need to add any .png images to `git lfs`.
If the CI complains about this, make sure you run `git add --renormalize .`.
If you see an `InvalidSignature` error when running snapshot tests, it's probably a problem related to git-lfs.