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:
parent
ec6701418c
commit
4323156242
@ -21,16 +21,11 @@ full=
|
|||||||
testing() {
|
testing() {
|
||||||
release_opt=$1
|
release_opt=$1
|
||||||
cargo build $release_opt
|
cargo build $release_opt
|
||||||
cargo run $release_opt -- -s &
|
|
||||||
server=$!
|
|
||||||
echo Waiting on server to spin up && sleep 2
|
|
||||||
|
|
||||||
source ./client-tests/bin/activate
|
source ./client-tests/bin/activate
|
||||||
python3 client-tests/client.py
|
python3 client-tests/client.py
|
||||||
kill -9 $server 2> /dev/null
|
# if [ ! -z $full ];then
|
||||||
if [ ! -z $full ];then
|
# cargo test $release_opt
|
||||||
cargo test $release_opt
|
# fi
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
while getopts ":fhtTbr" arg; do
|
while getopts ":fhtTbr" arg; do
|
||||||
|
Loading…
Reference in New Issue
Block a user