[IMP] ci: test the ISOLATE addons in their own database
Some checks failed
CI / lint (pull_request) Successful in 31s
CI / test (pull_request) Failing after 11m29s
CI / review (pull_request) Has been skipped

website_sale_disable_cart removes the cart from every website once
installed, which breaks website_membership_signup_required when CI installs
everything together. The repo is shared by clients that never install them
together: run_tests.py now tests each ISOLATE addon in its own database,
after the rest, and ci.yml isolates website_sale_disable_cart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
GitHub Copilot 2026-10-04 15:04:56 +02:00
parent ca526d55cc
commit 87c2d1d1d3
Signed by: snt
GPG key ID: A9FD34930EADBE71
3 changed files with 73 additions and 36 deletions

View file

@ -50,6 +50,11 @@ jobs:
# este repo (ecocentral depende de él): se prueba el checkout del PR,
# no ese clon.
ODOO_SRC_SKIP: addons-cm
# Se prueban cada uno en su propia base de datos: instalados junto
# al resto les cambian el comportamiento. website_sale_disable_cart
# quita el carrito a todos los sitios web y rompe, por ejemplo, el
# alta con cuota de website_membership_signup_required.
ISOLATE: website_sale_disable_cart
# Si los tests pasan, deja aquí el .pot de cada addon para el job review.
# Está en la caché que el runner monta en todos los jobs.
BOT_POT_DIR: /root/.cache/eco-pr-bot/pot