Skip to content

Commit

Permalink
Add & Drop: Python packages of Tox configs
Browse files Browse the repository at this point in the history
  • Loading branch information
meherett committed Nov 14, 2024
1 parent 36e0f4c commit 346e8b2
Showing 1 changed file with 14 additions and 44 deletions.
58 changes: 14 additions & 44 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,45 +1,15 @@
[tox]
envlist = python37,python38,python39,python310,python311

[travis]
python =
3.7: python37
3.8: python38
3.9: python39
3.10: python310
3.11: python311

[testenv:python37]
install_command =
python -m pip install --upgrade pip {opts} {packages}
pip install -e . {opts} {packages}
extras = cli,tests,docs
commands = python -m pytest

[testenv:python38]
install_command =
python -m pip install --upgrade pip {opts} {packages}
pip install -e . {opts} {packages}
extras = cli,tests,docs
commands = python -m pytest
# Tox configuration for testing across multiple Python versions with coverage reporting

[testenv:python39]
install_command =
python -m pip install --upgrade pip {opts} {packages}
pip install -e . {opts} {packages}
extras = cli,tests,docs
commands = python -m pytest

[testenv:python310]
install_command =
python -m pip install --upgrade pip {opts} {packages}
pip install -e . {opts} {packages}
extras = cli,tests,docs
commands = python -m pytest

[testenv:python311]
install_command =
python -m pip install --upgrade pip {opts} {packages}
pip install -e . {opts} {packages}
extras = cli,tests,docs
commands = python -m pytest
[tox]
envlist = python39,python310,python311,python312,python313
skipsdist = True

[testenv]
commands_pre = python -m pip install --upgrade pip
install_command = pip install -e .[cli,tests,docs]
allowlist_externals =
coverage
pytest
commands =
coverage run -m pytest
coverage report

0 comments on commit 346e8b2

Please sign in to comment.