From 9a69e2ea97f529fb99922f8aeeebf98b268709c4 Mon Sep 17 00:00:00 2001 From: maziggy Date: Tue, 5 May 2026 10:54:14 +0200 Subject: [PATCH] Housekeeping --- test_backend.sh | 11 +++++++++++ test_frontend.sh | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100755 test_backend.sh create mode 100755 test_frontend.sh 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 ..