mirror of
https://github.com/commaai/msgq.git
synced 2026-06-13 00:14:32 +08:00
add test.sh (#649)
* add test.sh * kinda works * run in ci * setup * zmq * lil more * mv catch2 * rm docker
This commit is contained in:
19
test.sh
Executable file
19
test.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/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/
|
||||
pre-commit run --all-files
|
||||
|
||||
# *** test ***
|
||||
pytest
|
||||
Reference in New Issue
Block a user