This commit is contained in:
hoangvv 2025-01-08 01:21:51 +07:00
parent 96e12a7a02
commit dd34c4eab3
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ TAG := $(shell rev-parse --abbrev-ref HEAD)
CONTAINER_ID=odoo-${TAG}
install:
sudo apt -y update && \
sudo apt install -y python3-full python3-pip libldap2-dev libpq-dev libsasl2-dev
sudo apt install -y build-essential python3-full python3-pip libldap2-dev libpq-dev libsasl2-dev
run_test_docker:
sudo docker exec ${CONTAINER_ID} odoo --test-tags :TestAccountMove.test_out_invoice_auto_post_monthly,TestAccountMove.test_included_tax --log-level=test --test-enable -d testdb --stop-after-init --config=/etc/odoo/${CONFIG} --xmlrpc-port=8071 && \
sudo docker exec ${CONTAINER_ID} odoo db --config=/etc/odoo/${CONFIG} drop testdb

View File

@ -12,7 +12,7 @@ PG_USER=nexterp
ODOO_ADDONS=./addons
ODOO_CONFIG=./etc
# System
DEPENDS_PACKAGE=('wget' 'curl' 'git' 'unzip' 'make' 'build-essential' 'wkhtmltopdf')
DEPENDS_PACKAGE=('wget' 'curl' 'git' 'unzip' 'make' 'wkhtmltopdf')
DEPENDS_COMMAND=('wget' 'curl' 'git' 'unzip' 'make' 'wkhtmltopdf')
((EUID)) && sudo_cmd="sudo" || sudo_cmd=""
readonly MINIMUM_DOCER_VERSION="20"