diff --git a/.github/workflows/platformio.yml b/.github/workflows/platformio.yml index 6f8fe9bd6..68b91cd43 100644 --- a/.github/workflows/platformio.yml +++ b/.github/workflows/platformio.yml @@ -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 @@ -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 diff --git a/test/pedals_system_test.h b/test/pedals_system_test.h index b6f228d35..10610c334 100644 --- a/test/pedals_system_test.h +++ b/test/pedals_system_test.h @@ -12,19 +12,7 @@ author: Lucas Plant #include "PedalsSystem.h" #include -/* -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