Vauxoo / odoo-selenium

Odoo Selenium Unittest Tools provides utilities that make it easy to quickly write and develop Odoo tests that use Selenium.
GNU Lesser General Public License v3.0
1 stars 2 forks source link

[IMP] Run tests on all supported Odoo versions #2

Closed antonag32 closed 1 year ago

antonag32 commented 1 year ago

Related to #1.

This commit adds Odoo versions 14 and 15 to be run during the test pipeline. It also imports annotations from future in order to use type hinting with older Python versions found in Odoo setups.

Instructions on running the test suite with different odoo versions have also been added to the README.

antonag32 commented 1 year ago

@moylop260 I don't know if matrix changes don't run until they hit the main branch?

I made a fork and here is the pipeline, testing Odoo 14 to 16: https://github.com/antonag32/odoo-selenium/actions/runs/5885726961

It is the same commit, but somehow the matrix does not run on this PR.

luisg123v commented 1 year ago

@antonag32,

@moylop260 I don't know if matrix changes don't run until they hit the main branch?

That's correct. For security reasons, the merged changes are the ones run. You could test your own changes by:

antonag32 commented 1 year ago

Makes sense, thanks. In that case it seems the PR is good to go then. Can you guys review? @luisg123v @moylop260