commaai / panda

code powering the comma.ai panda
MIT License
1.52k stars 766 forks source link

CI: Enable MISRA tests caching #1817

Closed bongbui321 closed 8 months ago

bongbui321 commented 8 months ago

Enable caching both the scons build and the MISRA test (test_misra.sh and test_mutation.py), reducing the MISRA CI test from ~2m20 normally to ~40s. This should be a good speedup for MISRA mutation test cases

adeebshihadeh commented 8 months ago

This really only helps in the case where we're not touching the firmware, and most commits to panda touch the firmware. I don't think this is worth the extra complexity.