mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-08-11 00:30:12 -04:00
Housekeeping
This commit is contained in:
parent
907fbec138
commit
9a69e2ea97
2 changed files with 18 additions and 0 deletions
11
test_backend.sh
Executable file
11
test_backend.sh
Executable 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
7
test_frontend.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd frontend
|
||||
npx tsc
|
||||
npm run lint
|
||||
npm run test:run
|
||||
cd ..
|
||||
Loading…
Add table
Add a link
Reference in a new issue