CircleCI hangs on terminal when running postgres command

Note: this worked fine in 1.0, but 2.0 seems to fail.
I have a make file that has a step to test my app, that does a few things:

  • drops table
  • create table
  • export sql file i.e psql -f file.sql

every time I run it via circle CI, the last step it fails around:
COPY 0
setval

  9

(1 row)

and it hangs there before timing out and failing the step.

but if I SSH into the container, and run the SAME EXACT command make test-app it works perfectly…what gives?

I am wondering if there is a formatting issue in this post that is hiding the code you are using?