-
Notifications
You must be signed in to change notification settings - Fork 15
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: Add e2e test framework and update makefile and GHA workflow #185
Conversation
# Conflicts: # builder/linode/config_test.go
Here is a green build on my forked repo - https://github.com/ykim-1/packer-plugin-linode/actions/runs/7659265343 |
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.
Just rename GNUmakefile
to Makefile
.
As discussed privately, we may want to have a way to specify the image name and clean it up after tests.
|
@zliang-akamai good catch! Just added the teardown |
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, and local test passed! Just some minor suggestions.
And don't forget fix the lint 👍 |
📝 Description
This PR adds a few things:
✔️ How to Test
make unit-test
make int-test
make test (Tests all the test in the repo)