Skip to content

Commit

Permalink
added in compile test step
Browse files Browse the repository at this point in the history
  • Loading branch information
RCMast3r committed Jan 26, 2024
1 parent 4f98a10 commit 44616ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: PlatformIO CI
on: [push, pull_request]

jobs:
test:
run_build_and_tests:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
Expand All @@ -16,6 +16,9 @@ jobs:

- name: Install PlatformIO CLI
run: pip install platformio

- name: Run PlatformIO build for teensy
run: pio run -e teensy41

- name: Run PlatformIO Test
- name: Run Tests
run: pio test -e test_env
12 changes: 0 additions & 12 deletions test/pedals_system_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,7 @@ author: Lucas Plant
#include "PedalsSystem.h"
#include <array>

/*
ToDo:
edit pedals system file to accommodate friend wrapper
methods to test:
constructor
evaluate pedals
linearize_accel_pedal_values_
evaluate pedal_implausibilities_
evaluate_brake_and_accel_pressed_
pedal_is_active

*/
struct PedalIsActiveTestCase
{
// defines input and output params
Expand Down

0 comments on commit 44616ff

Please sign in to comment.