Skip to content

Commit 0c90af4

Browse files
fix(oca): Fix problem include test-matrix
1 parent 29457d9 commit 0c90af4

2 files changed

Lines changed: 23 additions & 4 deletions

File tree

.copier-answers.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ odoo_test_flavor: Both
1717
odoo_version: 19.0
1818
org_name: Odoo Community Association (OCA)
1919
org_slug: OCA
20-
rebel_module_groups: []
20+
rebel_module_groups:
21+
- sale_fixed_discount
22+
- sale_triple_discount,sale_order_general_discount_triple
2123
repo_description: sale-workflow
2224
repo_name: sale-workflow
2325
repo_slug: sale-workflow
2426
repo_website: https://github.com/OCA/sale-workflow
2527
use_pyproject_toml: true
26-
use_ruff: true
27-
28+
use_ruff: true

.github/workflows/test.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,24 @@ jobs:
3636
matrix:
3737
include:
3838
- container: ghcr.io/oca/oca-ci/py3.10-odoo19.0:latest
39+
include: "sale_fixed_discount"
40+
name: test sale_fixed_discount with Odoo
41+
- container: ghcr.io/oca/oca-ci/py3.10-ocb19.0:latest
42+
include: "sale_fixed_discount"
43+
name: test sale_fixed_discount with OCB
44+
makepot: "true"
45+
- container: ghcr.io/oca/oca-ci/py3.10-odoo19.0:latest
46+
include: "sale_triple_discount,sale_order_general_discount_triple"
47+
name: test sale_order_general_discount_triple with Odoo
48+
- container: ghcr.io/oca/oca-ci/py3.10-ocb19.0:latest
49+
include: "sale_triple_discount,sale_order_general_discount_triple"
50+
name: test sale_order_general_discount_triple with OCB
51+
makepot: "true"
52+
- container: ghcr.io/oca/oca-ci/py3.10-odoo19.0:latest
53+
exclude: "sale_fixed_discount,sale_triple_discount,sale_order_general_discount_triple"
3954
name: test with Odoo
4055
- container: ghcr.io/oca/oca-ci/py3.10-ocb19.0:latest
56+
exclude: "sale_fixed_discount,sale_triple_discount,sale_order_general_discount_triple"
4157
name: test with OCB
4258
makepot: "true"
4359
services:
@@ -51,6 +67,8 @@ jobs:
5167
- 5432:5432
5268
env:
5369
OCA_ENABLE_CHECKLOG_ODOO: "1"
70+
INCLUDE: ${{ matrix.include }}
71+
EXCLUDE: ${{ matrix.exclude }}
5472
steps:
5573
- uses: actions/checkout@v4
5674
with:
@@ -70,4 +88,4 @@ jobs:
7088
token: ${{ secrets.CODECOV_TOKEN }}
7189
- name: Update .pot files
7290
run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
73-
if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}
91+
if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}

0 commit comments

Comments
 (0)