Not possible to run tests: invoke tasks missing
Impossible to run tests locally and travis is read for the same reason: No idea what 'tests.prepare_config' is!
https://travis-ci.org/camptocamp/anthem#L522
/cc @leemannd
N.B: We found it while trying to locally test anthem with V11 and python3. There is an ongoing PR
README says:
But before, you have to ensure to have the proper environment for the tests with:
$ invoke tests.prepare $ invoke tests.createdb
Those steps, automatically called when using tox, will download the nightly release of Odoo and install it as a package, so tests can be run against it (and that's also why it is important to use a virtualenv!)
When calling pytest, you have to define the OPENERP_SERVER environment variable with the configuration file for the Odoo database that will be used for the tests.
@leemannd did you do this locally?
I guess travis conf needs fixes anyway.
@simahawk I builded the env with python3 and first used the tox command and then tryed to use these steps. The two invoke commands are working but I didn't ran pytest
This is fixed on this commit 652ae80f08 More information why https://github.com/pyinvoke/invoke/issues/468