docker-compose up in sonarscan script
This commit is contained in:
parent
cd643d3412
commit
6ecd3a326b
@ -16,6 +16,11 @@ python3 -m pip install coverage
|
||||
python3 -m pip install -e .
|
||||
python3 -m pip install -r requirements.txt
|
||||
|
||||
docker-compose -remove-orphans up -d
|
||||
|
||||
echo "Sleeping for 30 seconds to wait for dependency containers to finish startup..."
|
||||
sleep 30s
|
||||
|
||||
coverage run -m pytest pyinfra/test/ -x && coverage report -m && coverage xml
|
||||
|
||||
SERVICE_NAME=$1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user