-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Compare screenshots with main on PRs #13248
base: main
Are you sure you want to change the base?
Conversation
What happens when there's a failure? does ci just fail or are you able to see the diffs somewhere? |
it should log an url like https://pixel-eagle.vleue.com/project/b25a040a-a980-4602-b90c-d480ab84076d/run/1335/compare/1327 that will let you see the issues |
df365f0
to
c587b8e
Compare
job is currently failing because the secret is not set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please
Maybe we should put the flight helmet into the lighting scene. Or just put together a test scene which has a whole bunch of features enabled all at once to catch differences. |
Since #11904, the flight helmet makes rendering crash in CI on Windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be really nice for rendering PRs, since we can catch regressions before they merge. (Such as the MacOS thing that happened a few days ago.)
I have a few nits, but they're non-blocking. :)
|
||
- name: Send to Pixel Eagle | ||
run: | | ||
project="B04F67C0-C054-4A6F-92EC-F599FEC2FD1D" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be set using the env
property? I feel like it signals better that this is a hardcoded constant, and may be changed in the future.
- name: Send to Pixel Eagle
env:
project: B04F67C0-C054-4A6F-92EC-F599FEC2FD1D
run: ...
jobs: | ||
send-to-pixel-eagle: | ||
name: Send screenshots to Pixel Eagle | ||
# runs on macos because it has the updated curl that will accept the --json flag, and the script is probably not portable to windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be changed back to ubuntu-latest
once Ubuntu 24 becomes the new default. (Installed software)
I won't block on it, though, because who knows when that will be ready. :)
@@ -68,7 +68,7 @@ jobs: | |||
run: ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME cargo apk build --package bevy_mobile_example | |||
|
|||
run-examples-linux-vulkan: | |||
if: ${{ github.event_name == 'merge_group' }} | |||
if: ${{ github.event_name != 'pull_request' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment on why this is different, since all of the other jobs in this file uses == 'merge_group'
?
run-examples-on-windows-dx12: | ||
if: ${{ github.event_name == 'merge_group' }} | ||
if: ${{ github.event_name != 'pull_request' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same thing as above, please!
@mockersf I'm happy to merge this: looks like it needs you to add a secret first? |
Objective
Solution