File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,19 @@ export DOCKER_IMG=redun_python_test:redun_python_test
44export DOCKER_CONTAINER_NAME=redun_python_test
55
66docker build . --tag $DOCKER_IMG > /dev/null
7+ docker-compose up -d
78
89( docker rm -f $DOCKER_CONTAINER_NAME || true ) 2>&1 > /dev/null
910
11+ if [ -t 0 ]; then
12+ TERM=" -i -t"
13+ else
14+ TERM=" -i "
15+ fi
16+
1017docker run \
1118 -u " $( id -u) :$( id -g) " \
12- -it \
19+ $TERM \
1320 --rm \
1421 --name $DOCKER_CONTAINER_NAME \
1522 -e PGUSER=postgres -e PGPASSWORD=postgres \
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ tocpdeth: 3
99Run ` ./pytest.sh ` with the arguments that you would pass to ` pytest ` , for example:
1010
1111```
12- ./pytest.sh -k static
12+ ./pytest.sh -k static --pdb
1313```
1414
1515The lints also have their own shortcut: ` ./lint.sh `
You can’t perform that action at this time.
0 commit comments