Skip to content

Commit

Permalink
Fix loop when install pip development dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarlr committed Apr 20, 2022
1 parent 2c97bd6 commit 61f7d9d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,13 +305,14 @@
become: true
become_user: "{{ odoo_role_odoo_user }}"
pip:
name: watchdog
with_items:
- name: pytest
- name: pytest-odoo
- name: coverage
name: "{{ item }}"
virtualenv: "{{ odoo_role_odoo_venv_path }}"
when: odoo_role_dev_mode | bool
with_items:
- pytest
- pytest-odoo
- coverage
- watchdog

- import_tasks: add-service.yml
when: not odoo_role_dev_mode | bool
Expand Down

0 comments on commit 61f7d9d

Please sign in to comment.