-
Notifications
You must be signed in to change notification settings - Fork 252
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
Set up hardware-in-loop testing #809
Comments
Having issues with |
The |
I have managed to flash and run tests on-device using I will continue writing tests, and also start working on getting the CI workflow set up to invoke them. |
Test cases that would be useful, a working list:
|
This week had some unexpected work pop up, so I unfortunately have not made as much progress and I had hoped. However, I will still provide some updates on the current status of things:
|
Things are moving fast in the embedded testing world, and only two weeks later things are looking a bit different!
I think I can actually get a draft PR opened for this soon, and I will add the CI workflow at a later date, once it is ready. At least would be nice to get some eyes on what I've come up with so I can elicit some feedback. |
@SergioGasquez has graciously offered to resurrect this from the dead 😁 |
Minor update, we already had our first successful HIL CI runs: https://github.com/esp-rs/esp-hal/actions/runs/8204261710/job/22440035135 🚀 |
Quick update regarding HIL:
|
Thank you again for your work on this @SergioGasquez, I'm really excited to have this at our disposal. Hopefully the I guess we still have not really decided which event(s) will trigger this workflow. I still don't think our merge queues are configured quite right, but I had originally thought of this somehow being a final check before merging. Not sure if this is possible with the |
Definitely, I think with what I have I can already create the first PR (as a draft at least), so we can start giving feedback.
This is one of the things that we still need to figure out. Each time a PR gets updated seems a bit too much to me too, and I have not experience with |
I've gathered a list of the
|
Just opened a PR: #1297 |
Minor update: C3 is now also being tested on ci https://github.com/esp-rs/esp-hal/actions/runs/8326344742 |
Initial HIL has been merged! #1297 Current board support
Current tests
|
I think we can probably close this issue at this point. There is definitely still work to be done, but I would say that HIL has been "set up", and the remaining work can be split out into their own issues. @SergioGasquez if you think this is premature please feel free to reopen. |
We have already set up self-hosted runners for GitHub actions.
We will need to better define what is required in order to bring this to fruition.
EDIT: There have been a number of updates on this task, please see the comments below!
The text was updated successfully, but these errors were encountered: