Skip to content
Snippets Groups Projects

Add link to Orbeet in readme, only include pylint/coverage in generated documentation

Merged Vincent Hatakeyama requested to merge topic/16.0/orbeet into branch/16.0
1 file
+ 10
9
Compare changes
  • Side-by-side
  • Inline
+ 10
9
@@ -9,11 +9,8 @@
- project: xcg/ci-templates
file: /odoo/16.0/gitlab-ci.yaml
install_module_without_demo:
allow_failure: true # TODO this actually works fine but the job is in error
install-modules-with-demo:
extends: .base-run
script:
- logfile=$(tempfile --suffix=.log)
# install module
@@ -15,11 +12,15 @@
install-modules-with-demo:
extends: .base-run
script:
- logfile=$(tempfile --suffix=.log)
# install module
- $CI_PROJECT_DIR/odoo_scripts/start --db_host=postgres --database odoo
--max-cron-threads=0 --stop-after-init --init $CI_PROJECT_NAME $ADDONS_PATH
--db_user=odoo $_TEST_OPTIONS $TEST_OPTIONS 2>&1| tee $logfile | sed -e 's/\(.*\)
\(ERROR\) \(.*\)/\o033[2m\1\o033[22m \o033[31m\o033[7m\2\o033[27m \3\o033[0m/'
- grep ' ERROR ' -F $logfile -c -v
allow_failure: true # TODO this fails but the test job does the same and works fine
- start --db_host=postgres --database odoo --max-cron-threads=0 --stop-after-init
--init $CI_PROJECT_NAME $ADDONS_PATH --db_user=odoo $_TEST_OPTIONS $TEST_OPTIONS
2>&1 | tee $logfile | sed -e 's/\(.*\) \(ERROR\) \(.*\)/\o033[2m\1\o033[22m
\o033[31m\o033[7m\2\o033[27m \3\o033[0m/'
- errors=$(grep " ERROR " "$logfile" -c || true)
- |
if [[ $errors -gt 0 ]]; then
echo "$errors ERROR messages found"
exit 1
fi
Loading