Tests: add HTML report generation and a workaround to bad exception handling in sikuli.
In case of exception in python code, and since a thread is running
to observe stdout, sikuli was never terminated after an exception.
Unfortunately sys.exepthook doesn't work in that version of jython/sikuli.
Test are now written inside functions witch are passed to run_test to deal
with exception.
image: skvorl/beremiz-requirements
pipelines:
default:
- parallel:
- step:
name: Codestyle checks
script:
- ln -s /CanFestival-3 $BITBUCKET_CLONE_DIR/../CanFestival-3
- /usr/bin/python --version
- ./tests/tools/check_source.sh
- step:
name: Application tests
max-time: 10
script:
- ln -s /CanFestival-3 $BITBUCKET_CLONE_DIR/../CanFestival-3
- ./tests/tools/run_python_tests.sh