CI for the people, but in opendbc (#3163)

This commit is contained in:
Jason Wen
2026-02-28 22:46:47 -05:00
committed by GitHub
parent 2133a5a02f
commit cbcc9c5c65

View File

@@ -122,8 +122,7 @@ jobs:
- uses: actions/checkout@v4
with:
path: opendbc_repo
- uses: ./.github/workflows/setup-with-retry
id: setup-step
- run: ./tools/op.sh setup
- name: Cache test routes
id: routes-cache
uses: actions/cache@v4
@@ -133,7 +132,7 @@ jobs:
- name: Build openpilot
run: scons -j$(nproc) common/ cereal/ selfdrive/pandad/ msgq_repo/ opendbc_repo
- name: Test car models
timeout-minutes: ${{ contains(runner.name, 'nsc') && (steps.routes-cache.outputs.cache-hit == 'true') && ((steps.setup-step.outputs.duration < 18) && 1 || 2) || 6 }}
timeout-minutes: ${{ contains(runner.name, 'nsc') && (steps.routes-cache.outputs.cache-hit == 'true') && 2 || 6 }}
run: MAX_EXAMPLES=1 pytest --continue-on-collection-errors --durations=0 --durations-min=5 -n logical selfdrive/car/tests/test_models.py
env:
NUM_JOBS: 4