-
Notifications
You must be signed in to change notification settings - Fork 127
render diff for readme checks #993
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
Conversation
🌐 Coverage report
|
|
/test |
To what different behavior do you refer? When this error happens, locally you can run
Is it expected for this diff to show the |
|
At the moment the builds on CI are consistently rendering readme files differently to how they are rendered locally. The diff is as it's intended to be, I would not like to see huge diffs here, just enough to be able to get an idea of what is being misrendered. Docs for the format are here https://pkg.go.dev/github.com/google/go-cmp/cmp#Diff. |
|
/test |
|
If you would prefer, we can do what we have in the pipeline result diffing |
|
Yes, I think I would prefer a more standard diff, could you give it a try and show an example? |
|
Sure. I'm thinking a context of 2 would be enough for this situation. WDYT? |
|
Agree with a small diff 👍 |
|
I tried 2 and I think it's still too much. This is 1: |
This renders the difference between the stored and rendered readme files. Like so:
This is important due to differential behaviour between CI and local
elastic-package build.