mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
run tests on commit
This commit is contained in:
parent
d6f516b34f
commit
273ca0c8da
5 changed files with 54 additions and 19 deletions
12
scripts/run-tests.sh
Executable file
12
scripts/run-tests.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
pids=()
|
||||
for py in python{2,3}; do
|
||||
$py -m unittest discover -s tests >/dev/null &
|
||||
pids+=($!)
|
||||
done
|
||||
|
||||
for pid in ${pids[@]}; do
|
||||
wait $pid
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue