Skip to content

chore: migrate to tox 4.x #691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Install required dependencies
run: |
python3 -m pip install --upgrade pip
pip install tox tox-wheel
pip install tox

- name: Code check
run: tox -e ${TOX_VENV}
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[tox]
minversion = 3.24.1
minversion = 4.3.4
requires=
virtualenv>=20.7.2
tox-wheel>=0.6.0
skip_missing_interpreters=True
envlist =
pep8,black,
Expand Down Expand Up @@ -31,12 +30,14 @@ extras =
deps =
sasl: kerberos
codecov: codecov
allowlist_externals =
{toxinidir}/ensure-zookeeper-env.sh
{toxinidir}/init_krb5.sh
commands =
sasl: {toxinidir}/init_krb5.sh {envtmpdir}/kerberos \
/{toxinidir}/ensure-zookeeper-env.sh \
{toxinidir}/ensure-zookeeper-env.sh \
pytest {posargs: -ra -v --cov-report=xml --cov=kazoo kazoo/tests}


[testenv:build]

[testenv:codecov]
Expand Down