-
Notifications
You must be signed in to change notification settings - Fork 1.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
ci: add gh action to generate and test pyinstaller zip file #4487
Conversation
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.
LGTM! Let's ship it ASAP!
run: | | ||
unzip .build/output/aws-sam-cli-linux-x86_64.zip -d sam-installation | ||
./sam-installation/install | ||
sam-beta --version |
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.
Not blocking: can we kick off another suite of tests that is bare bones across the commands, such that each command is atleast invoked once? could be a follow up commit. Could be a first step towards artifact based testing.
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.
I do agree with this. But I would rather have that as a separate PR and include the tests that we want to run with the pyinstaller. So that we can incrementally improve our installer test coverage.
Generates a pyinstaller zip file for linux & mac and runs some basic tests. ZIP file will also added as artifact so that it can be downloaded and tested with each PR.
build-linux.sh
andbuild-mac.sh
behaves differently ifCI_OVERRIDE
environment variable is set to1
:aws-sam-cli-beta
sam-beta
(different than what we have as of now [samdev
,sam-nigtly
,sam
])By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.