Skip to content

Commit c712476

Browse files
committed
Slightly improve pip install calls
- Workaround pypa/pip#9168 - --no-deps in editable install because the dep check has been done before
1 parent eab48bb commit c712476

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

acsoo/templates/project/+project.name+/.gitlab-ci.yml.bob

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ test:
8181
- virtualenv --python=$PYTHON venv
8282
- venv/bin/pip install coverage
8383
# use --no-index so missing dependencies that would not be in *.whl are detected
84-
- venv/bin/pip install --no-index release/*.whl
84+
- venv/bin/pip install --no-index --find-links release odoo-addons-{{{ project.name }}}
8585
# although the project is part of *.whl, install it in editable mode so coverage sees it
86-
- venv/bin/pip install --no-index -e .
86+
- venv/bin/pip install --no-deps -e .
8787
- ADDONS_INIT=$(./acsoo addons list-depends)
8888
- echo Installing ${ADDONS_INIT}
8989
- unbuffer venv/bin/click-odoo-initdb -c odoo-ci.cfg --new-database ${DB_NAME} --cache-prefix {{{ project.trigram }}} -m ${ADDONS_INIT} | ./acsoo checklog

0 commit comments

Comments
 (0)