In okular + gitlab CI we would like that if the tests fail the build is marked as failed instead of as succesful.
Is that possible?
In okular + gitlab CI we would like that if the tests fail the build is marked as failed instead of as succesful.
Is that possible?
Currently scripts used by Gitlab CI is shared with Jenkins setup,
https://invent.kde.org/sysadmin/ci-tooling/-/blob/master/helpers/run-tests.py is the script which runs the tests,
You can modify that to not exit with 0 status if tests are failing, but lot of project would not want this option. I am not sure what is correct solution.
Please note that this issue is not exclusive to Gitlab CI but rather to jenkins as well.
I already have plans to significantly revamp how CI works with Gitlab so it shouldn't be too much of an issue to delegate control over this as part of the changes.
Yes i understand the scripts are shared between gitlab and jenkins and that lots of projects are not "very good" in keeping their tests clean, that's why i asked this to be opt-in for those projects that try to actually have passing tests :)