openpilot/panda_tici/test.sh
2025-11-11 22:44:56 +08:00

22 lines
307 B
Bash
Executable File

#!/usr/bin/env bash
set -e
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd $DIR
# *** env setup ***
source ./setup.sh
# *** build ***
scons -j8
# *** lint ***
ruff check .
mypy python/
# *** test ***
# TODO: make xdist and randomly work
pytest -n0 --randomly-dont-reorganize tests/