diff --git a/.copier-answers.yml b/.copier-answers.yml index f7e7e56dc..1bc94caad 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -14,7 +14,8 @@ odoo_test_flavor: Both odoo_version: 16.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 e1af7438f..4b402b6c0 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-odoo16.0:latest + include: "database_cleanup" + makepot: "true" name: test with Odoo - container: ghcr.io/oca/oca-ci/py3.10-ocb16.0:latest + include: "database_cleanup" + name: test with OCB + - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest + exclude: "database_cleanup" + makepot: "true" + name: test with Odoo + - container: ghcr.io/oca/oca-ci/py3.10-ocb16.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: