Files
opendbc-meb/test.sh
Adeeb Shihadeh 2996f960e7 run safety tests in test.sh (#2275)
* run safety tests in test.sh

* looks like this is just macos-latest now?

* namespace
2025-05-20 10:36:29 -07:00

26 lines
454 B
Bash
Executable File

#!/bin/bash
set -e
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd $DIR
source ./setup.sh
# *** build ***
scons -j8
# *** lint ***
# TODO: pre-commit is slow; replace it with openpilot's "op lint"
pre-commit run --all-files
# too many false positives atm :(
#ty check .
# *** test ***
pytest -n8
# *** all done ***
GREEN='\033[0;32m'
NC='\033[0m'
printf "\n${GREEN}All good!${NC} Finished build, lint, and test in ${SECONDS}s\n"