Step Job Not Failing on Test Suite Failure

Hi there
I am writing to seek assistance regarding an issue I am encountering in my CircleCI workflows. I have noticed that despite my test suite failing, the associated step job does not fail as expected. I would greatly appreciate your expertise in helping me troubleshoot and resolve this matter.

I have reviewed my CircleCI configuration and have ensured that the testing script returns a non-zero exit status when the tests fail. However, despite this configuration, the step job continues to pass even when the tests within it fail.

I have attempted to use the set -e property, as mentioned in some online resources, but it still doesn’t work

Could you please assist me in identifying the cause of this issue and suggest steps to resolve it? I am eager to ensure that my step jobs accurately reflect the success or failure of the underlying tests.

Any guidance or insights you can provide would be immensely helpful.

Thank you very much for your time and support. I look forward to your response.