we are trying to run our tests with Gitlab-ci with:
script: - box testbox run verbose=false directory=tests.specs.unit.services outputFile='testbox-junit.xml' reporter='junit' > /dev/null artifacts: paths: - testbox-junit.xml reports: junit: testbox-junit.xml
The tests runs but Gitlab always says “Job success” and put the status as Green in the job:
But there are errors in the tests:
I think that is becacuse the command "box testbox run … " always success although there are some test that fails.
How can be the status of the job failed instead?