convert tests to unittest (#38387)

This commit is contained in:
Adeeb Shihadeh
2026-07-21 11:02:34 -07:00
committed by GitHub
parent ebb5cc12f5
commit 911f07ee87
80 changed files with 573 additions and 434 deletions
+4 -4
View File
@@ -20,7 +20,7 @@ concurrency:
env:
CI: 1
PYTHONPATH: ${{ github.workspace }}
PYTEST: pytest --continue-on-collection-errors --durations=0 -n logical
PYTEST: pytest --continue-on-collection-errors --durations=0 -n logical --dist worksteal
GIT_CONFIG_COUNT: 1
GIT_CONFIG_KEY_0: lfs.fetchexclude
GIT_CONFIG_VALUE_0: openpilot/selfdrive/modeld/models/big_driving_supercombo.onnx
@@ -110,9 +110,9 @@ jobs:
env:
RAYLIB_BACKEND: headless
run: |
# Pre-compile Python bytecode so each pytest worker doesn't need to
$PYTEST --collect-only -m 'not slow' -qq
MAX_EXAMPLES=1 $PYTEST -m 'not slow'
# Pre-compile Python bytecode so each worker doesn't need to.
python -m compileall -q -j 0 openpilot
MAX_EXAMPLES=1 SKIP_SLOW=1 $PYTEST
process_replay:
name: process replay