Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bin/runtests - local-src is unnecessarily updated #175

Open
ivantodorovich opened this issue Oct 28, 2021 · 0 comments
Open

bin/runtests - local-src is unnecessarily updated #175

ivantodorovich opened this issue Oct 28, 2021 · 0 comments

Comments

@ivantodorovich
Copy link
Member

This is not efficient. On large projects installing local-src can easily take at least a minute or two.

IMO they should be installed and tested at the same time, basically merging these lines:

echo "🔧🔧 Install local-src modules 🔧🔧"
gosu odoo odoo --stop-after-init --workers=0 --database $DB_NAME_TEST --log-level=warn --without-demo="" --db-filter=$DB_NAME_TEST -i ${LOCAL_ADDONS}
export COVERAGE_FILE=/home/odoo/.coverage
gosu odoo coverage run --source="${LOCAL_SRC_DIR}" "${ODOO_BIN_PATH}" --stop-after-init --workers=0 --database $DB_NAME_TEST --test-enable --log-level=test --log-handler=":INFO" --db-filter=$DB_NAME_TEST -u ${LOCAL_ADDONS}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant