Building and testing against proper nginx setup now

! No longer pipeline ready because the docker image is out of date with this change
This commit is contained in:
shockrah 2021-02-11 22:28:20 -08:00
parent ec6701418c
commit 4323156242

View File

@ -21,16 +21,11 @@ full=
testing() {
release_opt=$1
cargo build $release_opt
cargo run $release_opt -- -s &
server=$!
echo Waiting on server to spin up && sleep 2
source ./client-tests/bin/activate
python3 client-tests/client.py
kill -9 $server 2> /dev/null
if [ ! -z $full ];then
cargo test $release_opt
fi
# if [ ! -z $full ];then
# cargo test $release_opt
# fi
}
while getopts ":fhtTbr" arg; do