From 4da687e8885835e7531b7b38bf32a04c3aae56d8 Mon Sep 17 00:00:00 2001 From: Javier Balloffet Date: Sat, 30 Dec 2023 00:50:11 +0100 Subject: [PATCH] Add step for running unit tests to MCU CI workflow Signed-off-by: Javier Balloffet --- .github/workflows/mcu-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mcu-ci.yml b/.github/workflows/mcu-ci.yml index 22d8fab2..d4927c12 100644 --- a/.github/workflows/mcu-ci.yml +++ b/.github/workflows/mcu-ci.yml @@ -27,7 +27,6 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - name: MCU CI on: @@ -40,7 +39,7 @@ on: workflow_dispatch: jobs: - build: + build_and_test: runs-on: ubuntu-latest steps: @@ -56,7 +55,9 @@ jobs: python-version: '3.9' - name: Install PlatformIO Core run: pip install --upgrade platformio - - name: Build application working-directory: ./andino_firmware run: pio run + - name: Run unit tests + working-directory: ./andino_firmware + run: pio test --environment=desktop