I wrote this simple YML file that copies the content of the current directory (ia_training module) into application's addons and then run the app with switches to test the solution.
======================
image: jamotion/odoo-ci:8.0
# Test is build based on https://www.odoo.com/forum/help-1/question/how-to-run-tests-526
pipelines:
default:
- step:
script:
- ls
- cp -r * /opt/odoo/custom_addons/
- cd /opt/odoo
- ./openerp-server -c /etc/odoo/openerp-server.conf --init=ia_training --stop-after-init -d test_database --log-level=test --test-enable
=======================
and running tests it gives below error message:
./openerp-server -c /etc/odoo/openerp-server.conf --init=ia_training --stop-after-init -d test_database --log-level=test --test-enable
bash: ./openerp-server: No such file or directory
Script is based on the Odoo-CI available at https://bitbucket.org/jamotion/odoo-ci
Can someone assist me on how to modify this ?
Thanks,