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

feat(self-test): add selftest and integration tests #54

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

cjp256
Copy link
Collaborator

@cjp256 cjp256 commented Jan 29, 2025

Add selftest.py, a standalone script meant to validate a the functionality of azure-vm-utils when installed in Azure VM.

Add test_images.py, a pytest-based set of tests which tests marketplace and community images which feature azure-vm-utils baked in (e.g. debian 13, fedora 41) across a variety of vm sizes and types. It also features a test_custom() to allow for easy testing of any image & vm size combination via environment TEST_CUSTOM_IMAGES=image1,image2,... and TEST_CUSTOM_VM_SIZES=size1,size2... Instructions for usage added to README.md.

Add python-autoformat and python-lint targets to cmake and update CI to use linters.

@cjp256 cjp256 force-pushed the self-test branch 7 times, most recently from a19db13 to de1474a Compare January 29, 2025 20:09
Add selftest.py, a standalone script meant to validate a the
functionality of azure-vm-utils when installed in Azure VM.

Add test_images.py, a pytest-based set of tests which tests
marketplace and community images which feature azure-vm-utils
baked in (e.g. debian 13, fedora 41) across a variety of
vm sizes and types.  It also features a test_custom()
to allow for easy testing of any image & vm size combination
via environment TEST_CUSTOM_IMAGES=image1,image2,... and
TEST_CUSTOM_VM_SIZES=size1,size2...  Instructions for usage
added to README.md.

Add python-autoformat and python-lint targets to cmake and
update CI to use linters.

Signed-off-by: Chris Patterson <[email protected]>
selftest/test-requirements.txt Show resolved Hide resolved
selftest/test_images.py Show resolved Hide resolved
selftest/test_images.py Outdated Show resolved Hide resolved
selftest/test_images.py Show resolved Hide resolved
selftest/selftest.py Show resolved Hide resolved
selftest/test_images.py Show resolved Hide resolved
cjp256 and others added 2 commits January 29, 2025 16:37
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.

4 participants