Skip to content

Commit 7dea3d3

Browse files
authored
Merge pull request #137 from coopdevs/fix/dev-pip-modules-loop
Fix loop when install pip development dependencies
2 parents 2c97bd6 + 61f7d9d commit 7dea3d3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tasks/main.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -305,13 +305,14 @@
305305
become: true
306306
become_user: "{{ odoo_role_odoo_user }}"
307307
pip:
308-
name: watchdog
309-
with_items:
310-
- name: pytest
311-
- name: pytest-odoo
312-
- name: coverage
308+
name: "{{ item }}"
313309
virtualenv: "{{ odoo_role_odoo_venv_path }}"
314310
when: odoo_role_dev_mode | bool
311+
with_items:
312+
- pytest
313+
- pytest-odoo
314+
- coverage
315+
- watchdog
315316

316317
- import_tasks: add-service.yml
317318
when: not odoo_role_dev_mode | bool

0 commit comments

Comments
 (0)