diff --git a/test_backend.sh b/test_backend.sh new file mode 100755 index 000000000..48e575416 --- /dev/null +++ b/test_backend.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +cd backend +ruff check && ruff format --check + +#if [ "$1" = "--full" ]; then +../venv/bin/python3 -m pytest tests/ -v -n 30 +#else +#../venv/bin/python3 -m pytest tests/ -v -n 30 --ignore=tests/unit/services/test_bambu_ftp.py +#fi +#cd .. diff --git a/test_frontend.sh b/test_frontend.sh new file mode 100755 index 000000000..3a7d85e67 --- /dev/null +++ b/test_frontend.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +cd frontend +npx tsc +npm run lint +npm run test:run +cd ..