Commit 56153506 authored by Huihui, Jonathan's avatar Huihui, Jonathan
Browse files

test waits for db using test-db-conn

parent 03a873a9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -8,7 +8,8 @@ services:
      - ./test/:/test/
    env_file:
      - ./envfile
    command: ["sh", "-c", "pytest --cov=common /test/test.py"]
    #command: ["sh", "-c", "pytest --cov=common /test/test.py"]
    command: ["sh", "-c", "test-db-conn && pytest -v --cov=common /test/test.py"]
    depends_on:
      - postgres