Build continues on failed tests

Here is a screenshot demonstrating the issue:

And here is a link to the build in question:

Basically I’m running my tests under uwsgi (via uwsgi --pyrun) and pytest (pytest: helps you write better programs — pytest documentation), the output shows error (and even highlights it in red), but the build continues as if the build stage passed.

This is my circle.yml test section:

- uwsgi --pyrun tests/ --master

Any insight into this?

pass or fail is determined by the exit code. If you’ll add ; echo $? to your command, you will see exit code 0