From ebcee7ff2a53c643efb64b835f99640567da224b Mon Sep 17 00:00:00 2001 From: Matthias Bisping Date: Thu, 24 Mar 2022 14:36:34 +0100 Subject: [PATCH] simplified copying of coverage.xml and removing of testcontainer --- run_tests.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index 59a4bf5..e245822 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -8,6 +8,4 @@ name=pyinfra-tests-${rnd} echo "running tests container" -docker run --net=host --name $name -v $PWD:$PWD -w $PWD -v /var/run/docker.sock:/var/run/docker.sock pyinfra-tests:dev -docker cp $name:/app/service/reports/coverage.xml reports/coverage.xml -docker rm $name +docker run --rm --net=host --name $name -v $PWD:$PWD -w $PWD -v /var/run/docker.sock:/var/run/docker.sock pyinfra-tests:dev