Skip to content

Added first IGpio mock object to ShiftController tests #16

Added first IGpio mock object to ShiftController tests

Added first IGpio mock object to ShiftController tests #16

Workflow file for this run

name: CI Build
# Define the trigger event(s)
on: push
# Jobs run in parallel by default, each runs steps in sequence
jobs:
compile-firmware:
runs-on: ubuntu-latest
steps:
- name: Check out this repo and submodules
uses: actions/checkout@v3
- name: Build stm32CubeIDE project
uses: xanderhendriks/[email protected]
with:
project-path: 'Firmware/Shifter_System'
project-target: 'Shifter_System/Debug'
run-unit-tests:
runs-on: ubuntu-latest
steps:
- name: Check out this repo
uses: actions/checkout@v3
- name: Install Ninja
run: sudo apt-get install ninja-build
- name: Build and run unit tests
run: |
cd Firmware/Tests
cmake -G "Ninja" -S . -B ./build
cd build
ninja
./shifter-unit-tests