Skip to content

Commit

Permalink
Add step for running unit tests to MCU CI workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Javier Balloffet <[email protected]>
  • Loading branch information
jballoffet committed Dec 29, 2023
1 parent 8217457 commit ffdde52
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/mcu-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -40,7 +39,7 @@ on:
workflow_dispatch:

jobs:
build:
build_and_test:
runs-on: ubuntu-latest

steps:
Expand All @@ -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

0 comments on commit ffdde52

Please sign in to comment.