Test Car Models 2.0 (#1903)

* start with radar interface

* car interface

* panda safety rx check

* check panda safety inits

* check NO_RADAR_SLEEP in all radar interfaces

* sonata 2019 and kia optima should use hyundai legacy safety

* check radar errors

* check radar can errors

* real fingerprint

* run in CI

* it shoud pass now

* ignore old openpilot msgs

* ensure safety mode is set

* sort can msgs

* filter out openpilot msgs
old-commit-hash: 99106fd9c4
This commit is contained in:
Adeeb Shihadeh
2020-07-25 02:27:56 -07:00
committed by GitHub
parent 011c336047
commit dbdcaef1a1
8 changed files with 142 additions and 23 deletions

View File

@@ -197,10 +197,10 @@ jobs:
run: eval "$BUILD"
- name: Test car models
run: |
$PERSIST "mkdir -p /data/params && \
cd /tmp/openpilot && \
$PERSIST "cd /tmp/openpilot && \
scons -j$(nproc) && \
coverage run --parallel-mode --concurrency=multiprocessing --rcfile=./.coveragerc-app selfdrive/test/test_car_models.py && \
coverage run --parallel-mode --concurrency=multiprocessing \
--rcfile=./.coveragerc-app selfdrive/test/test_models.py && \
coverage combine"
- name: Upload coverage to Codecov
run: |