From e2333477ae0dc566a06c79fba2f74349f8090de0 Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Wed, 22 Feb 2023 13:43:00 +0100 Subject: [PATCH] set database_cleanup as rebel module --- .copier-answers.yml | 3 ++- .github/workflows/test.yml | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 7128f685530..558a4b74b26 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -16,7 +16,8 @@ odoo_test_flavor: Both odoo_version: 17.0 org_name: Odoo Community Association (OCA) org_slug: OCA -rebel_module_groups: [] +rebel_module_groups: +- database_cleanup repo_description: 'TODO: add repo description.' repo_name: Server Tools repo_slug: server-tools diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 36c22a87b3a..01be8d9a7d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,8 +36,18 @@ jobs: matrix: include: - container: ghcr.io/oca/oca-ci/py3.10-odoo17.0:latest + include: "database_cleanup" + makepot: "true" + name: Rebel test with Odoo + - container: ghcr.io/oca/oca-ci/py3.10-ocb17.0:latest + include: "database_cleanup" + name: Rebel test with OCB + - container: ghcr.io/oca/oca-ci/py3.10-odoo17.0:latest + exclude: "database_cleanup" + makepot: "true" name: test with Odoo - container: ghcr.io/oca/oca-ci/py3.10-ocb17.0:latest + exclude: "database_cleanup" name: test with OCB makepot: "true" services: @@ -49,6 +59,9 @@ jobs: POSTGRES_DB: odoo ports: - 5432:5432 + env: + INCLUDE: "${{ matrix.include }}" + EXCLUDE: "${{ matrix.exclude }}" steps: - uses: actions/checkout@v3 with: