diff --git a/copier.yml b/copier.yml index a4022ab..1529d43 100644 --- a/copier.yml +++ b/copier.yml @@ -157,6 +157,11 @@ include_wkhtmltopdf: Do you need to install wkhtmltopdf? Usually only needed if you're going to test PDF report generation. +enable_checklog_odoo: + type: bool + default: "{% if odoo_version < 18.0 -%}no{% else %}yes{% endif %}" + help: Do you want warnings to make tests fail? + github_enforce_dev_status_compatibility: type: bool default: yes diff --git a/src/.github/workflows/{% if ci == 'GitHub' %}test.yml{% endif %}.jinja b/src/.github/workflows/{% if ci == 'GitHub' %}test.yml{% endif %}.jinja index 00528a7..1870fb0 100644 --- a/src/.github/workflows/{% if ci == 'GitHub' %}test.yml{% endif %}.jinja +++ b/src/.github/workflows/{% if ci == 'GitHub' %}test.yml{% endif %}.jinja @@ -120,6 +120,9 @@ jobs: INCLUDE: "{% raw %}${{ matrix.include }}{% endraw %}" EXCLUDE: "{% raw %}${{ matrix.exclude }}{% endraw %}" {%- endif %} + {%- if enable_checklog_odoo %} + OCA_ENABLE_CHECKLOG_ODOO: "1" + {%- endif %} {%- for key, value in github_ci_extra_env.items() %} {{ key }}: {{ value|to_json }} {%- endfor %}