Contributors mailing list archives

contributors@odoo-community.org

Avatar

Re: Prevent 2 modules from testing together in OCA repo.

by
Acsone SA/NV, St├ęphane Bidoul
- 25/07/2021 13:43:40
In general you should avoid modifying repo-level dotfiles such as .travis.yml manually, so they can be kept in sync with the template automatically.

The correct way to test some modules independently from others is to run "copier update" and answer the rebel_module_groups question.
This will generate the correct Travis configuration and will be compatible with the future GitHub actions config too.

So, for example, if you answer ["a", "b,c"], it will create 3 groups to test
- a alone
- b and c only
- all the modules in the repo except a, b, c

Best regards,

-sbi

On Sat, Jul 17, 2021 at 5:57 PM Kitti Upariphutthiphong <kittiu@ecosoft.co.th> wrote:
Yes, this is exactly what I am looking for.

Thank you Kevin!

On Sat, Jul 17, 2021 at 8:12 PM Kevin Khao <kevinkhao@gmail.com> wrote:

On Sat, Jul 17, 2021 at 7:27 AM Kitti Upariphutthiphong <kittiu@ecosoft.co.th> wrote:
Hello,

When we have 2 module that's will failed when tested together. In OCA repo, are there ways to ensure not to run tests together?

I remember it is about setting in travis.yaml? but can't find the sample. (Also in the future if we move to github action, how to?

Thank you,

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference