Skip to content

Commit

Permalink
Move integration ignore to pytest config (#964)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhrutledge committed Dec 18, 2022
1 parent ef4d139 commit 4b7f6ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ filterwarnings=

addopts =
--disable-socket
--ignore-glob '*integration*.py'
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@ deps =
passenv =
PYTEST_ADDOPTS
commands =
python -m coverage run -m pytest --ignore-glob '*integration*.py'
python -m coverage html --show-contexts
python -m coverage run -m pytest {posargs}
python -m coverage report -m --fail-under 97
python -m coverage html --show-contexts

[testenv:integration]
deps =
{[testenv]deps}
pytest-rerunfailures
pytest-services
build
passenv =
PYTEST_ADDOPTS
commands =
Expand Down

0 comments on commit 4b7f6ef

Please sign in to comment.