Skip to content

Commit

Permalink
Merge pull request #137 from coopdevs/fix/dev-pip-modules-loop
Browse files Browse the repository at this point in the history
Fix loop when install pip development dependencies
  • Loading branch information
oyale authored Apr 20, 2022
2 parents 2c97bd6 + 61f7d9d commit 7dea3d3
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 7dea3d3

Please sign in to comment.