refactoring; cleanup
This commit is contained in:
parent
c933f66a4b
commit
592573793c
@ -8,19 +8,13 @@ source build_venv/bin/activate
|
|||||||
python3 -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
python3 -m pip install dependency-check
|
python3 -m pip install dependency-check
|
||||||
python3 -m pip install docker-compose
|
python3 -m pip install docker-compose
|
||||||
|
|
||||||
echo "coverage report generation"
|
|
||||||
|
|
||||||
python3 -m pip install coverage
|
python3 -m pip install coverage
|
||||||
|
|
||||||
# Install module & dependencies
|
|
||||||
#python3 -m pip install -e .
|
|
||||||
#python3 -m pip install -r requirements.txt
|
|
||||||
|
|
||||||
echo "docker-compose down"
|
echo "docker-compose down"
|
||||||
docker-compose down
|
docker-compose down
|
||||||
sleep 30
|
sleep 30
|
||||||
|
|
||||||
|
echo "coverage report generation"
|
||||||
bash run_tests.sh
|
bash run_tests.sh
|
||||||
|
|
||||||
if [ ! -f reports/coverage.xml ]
|
if [ ! -f reports/coverage.xml ]
|
||||||
@ -28,8 +22,6 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#coverage run -m pytest pyinfra/test/ -x && coverage report -m && coverage xml
|
|
||||||
|
|
||||||
SERVICE_NAME=$1
|
SERVICE_NAME=$1
|
||||||
|
|
||||||
echo "dependency-check:aggregate"
|
echo "dependency-check:aggregate"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user