Skip to content

Commit

Permalink
Avoid tox usedevelop
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Nov 2, 2021
1 parent 1de9067 commit 87dd4a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ jobs:
# produce a single .coverage file at repo root
run: coverage combine .tox/.coverage.*
- name: Upload coverage data
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2
with:
name: ${{ matrix.tox_env }}
fail_ci_if_error: true # optional (default = false)
Expand Down
10 changes: 3 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ requires =
setuptools >= 41.4.0
pip >= 19.3.0
skip_missing_interpreters = True
skipsdist = true

[testenv]
description =
Expand All @@ -20,14 +21,12 @@ description =
ansible29: ansible 2.9
ansible210: ansible-base 2.10
ansible211: ansible-core 2.11
extras =
retry
test
deps =
ansible29: ansible>=2.9,<2.10
ansible210: ansible-base>=2.10,<2.11
ansible211: ansible-core>=2.11,<2.12
devel: ansible-core @ git+https:/ansible/ansible.git # GPLv3+
--editable '.[retry,test]'
commands =
ansible --version
# We add coverage options but not making them mandatory as we do not want to force
Expand Down Expand Up @@ -57,9 +56,6 @@ setenv =
FORCE_COLOR = 1
allowlist_externals =
sh
# w/o usedevelop=true coverage capture fails with:
# Coverage.py warning: No data was collected. (no-data-collected)
usedevelop = true

[testenv:lint]
description = Run all linters
Expand Down Expand Up @@ -127,5 +123,5 @@ commands =
docs/ "{toxworkdir}/html"
deps =
-r docs/requirements.txt
usedevelop = true
--editable .
passenv = *

0 comments on commit 87dd4a8

Please sign in to comment.