Build continues on failed tests


#1

Here is a screenshot demonstrating the issue:

And here is a link to the build in question: https://circleci.com/gh/Sub-Tech/Analytics-Web/36

Basically I’m running my tests under uwsgi (via uwsgi --pyrun) and pytest (https://docs.pytest.org/en/latest/), 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:

test:
override:
- uwsgi --pyrun tests/run.py --master


#2

Any insight into this?


#3

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


#4