Commit 39be9f4 1 parent 2ab8a83 commit 39be9f4 Copy full SHA for 39be9f4
File tree 3 files changed +21
-1
lines changed
3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ RUN apt-get update -qq \
19
19
20
20
ENV PIPX_BIN_DIR=/usr/local/bin
21
21
22
+ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/
23
+
22
24
# Install wkhtml
23
25
RUN case $(lsb_release -c -s) in \
24
26
focal) WKHTML_DEB_URL=https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.focal_amd64.deb ;; \
Original file line number Diff line number Diff line change 4
4
# show pip config
5
5
pip config list
6
6
7
- oca_install_addons__deps_and_addons_path
7
+ oca_install_addons__ ${OCA_INSTALL_ADDONS_MODE :- deps_and_addons_path}
8
8
9
9
# show what we have installed
10
10
pip freeze
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ #
4
+ # Install addons to test in editable mode. This will install all python dependencies
5
+ # from PyPI, including OCA addons from other repos.
6
+ #
7
+
8
+ set -ex
9
+
10
+ oca_list_addons_to_test_as_url_reqs --editable >> test-requirements.txt
11
+
12
+ cat test-requirements.txt
13
+
14
+ # Disable git versioning strategies for better performance, as we
15
+ # are not interested in git post versions here.
16
+ env SETUPTOOLS_ODOO_POST_VERSION_STRATEGY_OVERRIDE=none \
17
+ WHOOL_POST_VERSION_STRATEGY_OVERRIDE=none \
18
+ uv pip install -r test-requirements.txt
You can’t perform that action at this time.
0 commit comments