Skip to content

Is there a proper way to set server_wide_modules option before running tests? #47

@petrus-v

Description

@petrus-v

Is your feature request related to a problem?

I've develop a werkzeurg middle-ware to redirect http to https in the following PR OCA/server-tools#2558

Before running test (therefor lauching odoo server) unit test require to add module in the server_wide_modules list

Describe the solution you'd like

I'm wondering if there is a proper approach to consider already implemented or to implement that would avoid breaking maintenance task on github action files ?

Or probably this something in copier template https://github.com/OCA/oca-addons-repo-template instead of this project ?

Describe alternatives you've considered

As working alternative I've update the odoo.cfg file running a shell command https://github.com/OCA/server-tools/pull/2558/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88R76

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions