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,17 +9,18 @@ include:
@@ -9,17 +9,18 @@ include:
- project: xcg/ci-templates
- project: xcg/ci-templates
file: /odoo/16.0/gitlab-ci.yaml
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:
install-modules-with-demo:
extends: .base-run
extends: .base-run
script:
script:
- logfile=$(tempfile --suffix=.log)
- logfile=$(tempfile --suffix=.log)
# install module
# install module
- $CI_PROJECT_DIR/odoo_scripts/start --db_host=postgres --database odoo
- start --db_host=postgres --database odoo --max-cron-threads=0 --stop-after-init
--max-cron-threads=0 --stop-after-init --init $CI_PROJECT_NAME $ADDONS_PATH
--init $CI_PROJECT_NAME $ADDONS_PATH --db_user=odoo $_TEST_OPTIONS $TEST_OPTIONS
--db_user=odoo $_TEST_OPTIONS $TEST_OPTIONS 2>&1| tee $logfile | sed -e 's/\(.*\)
2>&1 | tee $logfile | sed -e 's/\(.*\) \(ERROR\) \(.*\)/\o033[2m\1\o033[22m
\(ERROR\) \(.*\)/\o033[2m\1\o033[22m \o033[31m\o033[7m\2\o033[27m \3\o033[0m/'
\o033[31m\o033[7m\2\o033[27m \3\o033[0m/'
- grep ' ERROR ' -F $logfile -c -v
- errors=$(grep " ERROR " "$logfile" -c || true)
allow_failure: true # TODO this fails but the test job does the same and works fine
- |
 
if [[ $errors -gt 0 ]]; then
 
echo "$errors ERROR messages found"
 
exit 1
 
fi
Loading