Skip to content

Commit

Permalink
Add supported interpreters to tox.ini
Browse files Browse the repository at this point in the history
PyYAML declares supported for a wide range of Python versions,
but not all of them were included to the envlist at tox.ini.

These changes also:
  * enable the skip_missing_interpreters option
  * add {posargs} to the test command in order to provide flexibility,
    so you can pass arguments to pytest, e.g.: tox -- -k test_dump
  • Loading branch information
Jamim committed Dec 2, 2023
1 parent 48838a3 commit a417c39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[tox]
envlist = py38,py39,py310,py311,py312
envlist = py3{12,11,10,9,8,7,6},pypy3{10,9,8,7,6}
skip_missing_interpreters = true

[testenv]
deps =
pytest
commands =
pytest

pytest {posargs}

0 comments on commit a417c39

Please sign in to comment.