diff --git a/scripts/check.sh b/scripts/check.sh index 5ed40e8..449ce2c 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -8,13 +8,21 @@ else exit 1; fi +# Lint and fix code styling python3 -m ruff --fix . doctoc pre-commit export PYTHONPATH=$(pwd):$PYTHONPATH + +# Run tests with coverate +coverage run -m pytest tests +coverage report -m --skip-empty --omit="*/tests/*" + +# Build docker cd docker/ ./build.sh + # Run unit tests inside container # cd .. # export KERNEL_VERSION=`docker run --rm -it alpine uname -r | cut -d'-' -f1`