Housekeeping

This commit is contained in:
maziggy 2026-05-05 10:54:14 +02:00
parent 907fbec138
commit 9a69e2ea97
2 changed files with 18 additions and 0 deletions

11
test_backend.sh Executable file
View file

@ -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 ..

7
test_frontend.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
cd frontend
npx tsc
npm run lint
npm run test:run
cd ..