Skip to content

Comments

use git lfs: fetch LFS objects in screenshot CI#297014

Open
Copilot wants to merge 4 commits intomainfrom
copilot/sub-pr-297013
Open

use git lfs: fetch LFS objects in screenshot CI#297014
Copilot wants to merge 4 commits intomainfrom
copilot/sub-pr-297013

Conversation

Copy link
Contributor

Copilot AI commented Feb 23, 2026

Moves component fixture screenshot baseline PNGs to Git LFS and ensures the screenshot CI workflow actually fetches the LFS objects (not just pointer files) during checkout.

  • .gitattributes — tracks test/componentFixtures/.screenshots/**/*.png via Git LFS
  • .github/workflows/screenshot-test.yml — adds lfs: true to the actions/checkout step so baseline PNGs are available for comparison

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: hediet <2931520+hediet@users.noreply.github.com>
Copilot AI changed the title [WIP] Use Git LFS for screenshot baselines use git lfs: fetch LFS objects in screenshot CI Feb 23, 2026
Base automatically changed from hediet/b/bumpy-dragonfly to main February 23, 2026 16:11
@hediet hediet marked this pull request as ready for review February 23, 2026 18:08
Copilot AI review requested due to automatic review settings February 23, 2026 18:08
@hediet hediet enabled auto-merge (rebase) February 23, 2026 18:08
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables Git LFS support in the screenshot testing CI workflow to ensure baseline PNG files are properly fetched during test runs. The .gitattributes file already configures test/componentFixtures/.screenshots/**/*.png to be tracked via Git LFS (line 13), and this change ensures the CI workflow actually downloads the LFS objects rather than just pointer files.

Changes:

  • Added lfs: true to the actions/checkout@v4 step in the screenshot test workflow to fetch Git LFS objects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants