Files
onepilot/panda_tici/test.sh
1okko 0b67cd9476 666
2026-04-21 21:22:49 +08:00

22 lines
307 B
Bash

#!/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/