env activation
This commit is contained in:
parent
c5287ef1d2
commit
a9e6dbb186
@ -1,8 +1,14 @@
|
||||
docker build -f Dockerfile_tests -t pyinfra-tests .
|
||||
|
||||
source build_venv/bin/activate
|
||||
python3 -m pip install --upgrade pip
|
||||
python3 -m pip install docker-compose
|
||||
|
||||
docker-compose -remove-orphans up -d
|
||||
|
||||
echo "Sleeping for 30 seconds to wait for dependency containers to finish startup..."
|
||||
sleep 30s
|
||||
|
||||
docker rm /pyinfra-tests
|
||||
docker run --net=host --name pyinfra-tests pyinfra-tests
|
||||
docker cp pyinfra-tests:/app/service/reports/coverage.xml reports/coverage.xml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user