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

test(installer): update snapshot testing #611

Closed
wants to merge 1 commit into from

Conversation

richardkeit
Copy link
Contributor

@richardkeit richardkeit commented Oct 18, 2024

Snapshot Tests not updated in release

@richardkeit
Copy link
Contributor Author

richardkeit commented Nov 5, 2024

@erwaxler , @bo1984 - if I can be troublesome, can this please be looked at?

As it is using pull_request_target as the event, it clones from main and not my feature branch. Therefore, I can never fix this test!

For example, my failing test runs against commit https://github.com/awslabs/landing-zone-accelerator-on-aws/actions/runs/11397091326/job/31711985976#step:2:67 which is main. What I find is that these automated tests don't actually validate the pull request itself, but rather main (already merged code given a false sense of suitability)

@erwaxler
Copy link
Contributor

erwaxler commented Nov 6, 2024

Hey @richardkeit , thanks for creating this! I will get this reviewed and merged into the code base internally. I will also follow-up on:

  • Fixing the bug that allowed the snapshot to remain using v1.9.1
  • Updating the GitHub action tests to use the source branch commit

Thanks as always for your continued support it is very much appreciated!

@richardkeit
Copy link
Contributor Author

Assume this can be closed @erwaxler

@richardkeit richardkeit deleted the fix/installer-snaps branch November 21, 2024 04:20
@richardkeit richardkeit restored the fix/installer-snaps branch November 21, 2024 04:24
@richardkeit richardkeit deleted the fix/installer-snaps branch November 21, 2024 04:24
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.

2 participants