mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
add types, isort, errorhandling
This commit is contained in:
parent
0b6f102436
commit
438384425a
40 changed files with 2597 additions and 1750 deletions
|
@ -1,13 +1,23 @@
|
|||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
rm -rf unt
|
||||
mkdir -p unt/srv
|
||||
cp -pR copyparty tests unt/
|
||||
cd unt
|
||||
python3 ../scripts/strip_hints/a.py
|
||||
|
||||
pids=()
|
||||
for py in python{2,3}; do
|
||||
PYTHONPATH=
|
||||
[ $py = python2 ] && PYTHONPATH=../scripts/py2
|
||||
export PYTHONPATH
|
||||
|
||||
nice $py -m unittest discover -s tests >/dev/null &
|
||||
pids+=($!)
|
||||
done
|
||||
|
||||
python3 scripts/test/smoketest.py &
|
||||
python3 ../scripts/test/smoketest.py &
|
||||
pids+=($!)
|
||||
|
||||
for pid in ${pids[@]}; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue