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

How to test Pi builds and HW interaction #478

Open
andrewdavidmackenzie opened this issue Sep 25, 2024 · 3 comments
Open

How to test Pi builds and HW interaction #478

andrewdavidmackenzie opened this issue Sep 25, 2024 · 3 comments
Labels
hardware Relates to configuration of or interaction with Pi GPIO hardware tests
Milestone

Comments

@andrewdavidmackenzie
Copy link
Owner

How could we test better the Pi builds?

  • somehow build and run tests on pi arch/hw - new unit / system testing?
  • detect we are running an a pi (cargo test) and run pi specific tests
  • get stdout as part of tests?
  • some UI checking on a display or virtual display?

How can we (automatically) check that HW interaction is working?

  • detect we are running an a pi (cargo test) and run pi specific tests
  • define a board config that connects an output to an input
  • then write some tests that drive the output and check the input?

Have some Pi boards (with or without the external board and connections) connected to the cloud and able to accept CI jobs as custom runners?

other ideas?

@andrewdavidmackenzie andrewdavidmackenzie added the idea An idea for discussion before deciding to do it! label Sep 25, 2024
@sundaram123krishnan
Copy link
Collaborator

maybe i can try setting up pi zero for testing?

@andrewdavidmackenzie
Copy link
Owner Author

Look at implementing a custom (local) GH Actions runner on my local Mac mini - with connected real HW - and pull a job for real HW testing when change in PRs etc?

@andrewdavidmackenzie andrewdavidmackenzie added this to the 0.8.0 milestone Feb 26, 2025
@andrewdavidmackenzie andrewdavidmackenzie added help wanted We would appreciate help from someone outside the core team tests hardware Relates to configuration of or interaction with Pi GPIO hardware and removed idea An idea for discussion before deciding to do it! help wanted We would appreciate help from someone outside the core team labels Feb 26, 2025
@andrewdavidmackenzie
Copy link
Owner Author

andrewdavidmackenzie commented Feb 27, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hardware Relates to configuration of or interaction with Pi GPIO hardware tests
Projects
None yet
Development

No branches or pull requests

2 participants