Files
onepilot/panda/test.sh
github-actions[bot] 8383cc6688 sunnypilot v2025.002.000
2025-11-07 04:50:05 +00:00

22 lines
293 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 randomly work
pytest --randomly-dont-reorganize tests/