Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using git LFS to store the images result in empty image in report #1336

Open
dodozhang21 opened this issue Jul 2, 2021 · 4 comments
Open

Comments

@dodozhang21
Copy link

After I ran the test using github action and have it commit the reports to the repo. I used github pages to load the report but the report has 1x1 pixel image for everything. I highly suspect this is related to the fact I use git LFS to store my images.
The same test run is fine locally.

Any idea how to resolve this issue?
image

Thanks

@dodozhang21
Copy link
Author

one idea is to go thru config.js changes and update every image using https://gist.github.com/fkraeutli/66fa741d9a8c2a6a238a01d17ed0edc5 :/

@garris
Copy link
Owner

garris commented Jul 3, 2021

Do the images get correctly saved? Are you able to view the report if you download the repo?

@dodozhang21
Copy link
Author

@garris yes the images are correctly saved. I can read the report when I download it. I've added a script to update image reference to the correct path for the server but it works half of the time

@edvardsniedre
Copy link

GitHub Pages doesn't support Git LFS: git-lfs/git-lfs#4235

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

No branches or pull requests

3 participants