File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,11 +73,11 @@ RUN pip3 install -r /odoo-requirements.txt -r extra-requirements.txt && \
7373
7474# Files to run the tests
7575# run_pytest to run the test with pytest-odoo
76- COPY --chown=odoo ./docker_files/run_pytest.sh /usr/local/bin/
76+ COPY ./docker_files/run_pytest.sh /usr/local/bin/
7777RUN chmod +x /usr/local/bin/run_pytest.sh
7878
7979# Configuration of the coverage report
80- COPY --chown=odoo ./.coveragerc .
80+ COPY ./.coveragerc .
8181
8282ENV ODOO_HOME /home/odoo
8383RUN useradd -d "${ODOO_HOME}" -m -s /bin/bash odoo
Original file line number Diff line number Diff line change @@ -4,13 +4,12 @@ services:
44 context : .
55 dockerfile : Dockerfile
66 volumes :
7- - odoo-web-data:/usr/local/ lib/python3.8/site-packages
7+ - odoo-web-data:/var/ lib/odoo
88 - ./log:/var/log/odoo
99 # Inject the addons as a volume as the addons are just here to test the setup for the next step in the
1010 # docker pipeline.
1111 - ./docker_files/odoo_specific.conf:/etc/odoo/odoo_specific.conf
1212 - ./docker_files/main:/mnt/extra-addons/main
13- - .extra-addons:/mnt/extra-addons
1413 ports :
1514 - " 8069:8069"
1615 - " 8071:8071"
Original file line number Diff line number Diff line change @@ -7,8 +7,9 @@ cd $LOG_DIR
77pytest $TEST_DIR \
88 -v \
99 --disable-warnings \
10- --cov \
11- --cov-branch \
12- --cov-config /.coveragerc \
13- --cov-report xml \
14- --junit-xml=${LOG_DIR} /junit.xml
10+ # --cov \
11+ # --cov-branch \
12+
13+ # --cov-config /.coveragerc \
14+ # --cov-report xml \
15+ # --junit-xml=${LOG_DIR}/junit.xml
You can’t perform that action at this time.
0 commit comments