Skip to content

Continuous integration

Anton Golubenko edited this page May 28, 2022 · 3 revisions

Description

This milestone implements the use of Github action continuous integration which tests and builds any new code pushes or pull requests. It uses both Arduino CI and Android CI which are in .yml file format.

Functional requirements:

  1. The continuous integration (both Android and Arduino) should start running the tests on any code that a team member pushes or creates a new pull request in the repository to ensure it works properly.
  2. The tests should give feedback i.e either a pass or fail after running the new pushed code.
  3. The tests must show where an error has occurred during testing.

Non-Functional requirements:

  1. The continuous integration should accurately find compiling errors in the code 100% of the time.

Example scenario

One of the team members is pushing their code changes on local development branch onto the original remote branch, and creates a pull request. When the pull request has been added, Arduino and Android CI workflows start running tests on the code. If an error is identified in the code, then the test will fail, and it will show which line in the code throws the error.

Clone this wiki locally