Click here to see the latest build result and artifact on CircleCI -
- We used an mBed STM32 deboucer project to demonstrate how to test a button with a debouncer. The code turns on an LED every time the button is pressed.
- We then created a Docker container with the toolchain installed.
- We create a Jumper test script that presses the button multiple times, but thanks to the debouncer it should only count as one.
- Next, we configured CircleCI and TravisCI to build and run our testsour project every time we push new code to GitHub.