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

Adding a "test" plugin #138

Open
ajlennon opened this issue Jan 22, 2025 · 2 comments
Open

Adding a "test" plugin #138

ajlennon opened this issue Jan 22, 2025 · 2 comments

Comments

@ajlennon
Copy link

Hi there,

I am just getting to grips with (the awesome!) kas. I may have missed this but I am working to implement support for CI with meta-java and I would like to run Yocto tests. Assuming this isn't present, would it make sense to add another "kas test" plugin?

(I am assuming for now I can override KAS_TASK ?)

Cheers,

Alex

@fmoessbauer
Copy link
Member

Hi @ajlennon ,

you should be able to execute the tests with one of these commands:

kas build --target <image> --task testimage kas.yml
# in case the target is set via the project config, this should also work
kas build --task testimage kas.yml

With that, I don't think a dedicated plugin is really needed. But we're happy to receive documentation patches to make it clear that it is really that simple.

@ajlennon
Copy link
Author

Awesome thanks! Will take a look at that then :)

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

No branches or pull requests

2 participants