In the tests step, I have:
docker exec app python /app/tests/tests.py echo $?
I have the tests intentionally fail at the moment by raising an exception. The echoed exit code is 1, which should stop the build and mark it as failed. Instead CircleCI continues and deploys/merges.
Is there a step I am missing? Is there something additional I should do so Circle knows the test failed?