File tree 2 files changed +3
-2
lines changed 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 50
50
sed ' s|FROM .*|FROM $(IMAGE_LATEST)|' -i $(TMP ) /odoo/Dockerfile
51
51
cat $(TMP ) /odoo/Dockerfile
52
52
cd $(TMP ) && docker-compose run --rm -e LOCAL_USER_ID=$(shell id -u) odoo odoo --stop-after-init
53
+ cd $(TMP ) && docker-compose run --rm -e LOCAL_USER_ID=$(shell id -u) odoo runtests
53
54
cd $(TMP ) && docker-compose down
54
55
rm -f /tmp/odoo.tar.gz
55
56
rm -rf $(TMP )
Original file line number Diff line number Diff line change 26
26
DB_NAME_TEST=${DB_NAME} _test
27
27
28
28
PGPASSWORD=$DB_PASSWORD createdb -h db -U $DB_USER -O $DB_USER ${DB_NAME_TEST}
29
- odoo --stop-after-init --workers=0 --database $DB_NAME_TEST --log-level=warn -i ${LOCAL_ADDONS}
30
- odoo --stop-after-init --workers=0 --database $DB_NAME_TEST --test-enable -u ${LOCAL_ADDONS}
29
+ odoo --stop-after-init --workers=0 --database $DB_NAME_TEST --log-level=warn --without-demo= " " - i ${LOCAL_ADDONS}
30
+ odoo --stop-after-init --workers=0 --database $DB_NAME_TEST --test-enable --log-level=test --log-handler= " :INFO " - u ${LOCAL_ADDONS}
31
31
PGPASSWORD=$DB_PASSWORD dropdb -h db -U $DB_USER ${DB_NAME_TEST}
You can’t perform that action at this time.
0 commit comments