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 Aug 6, 2024
1 parent f74f335 commit 5f7c578
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{13,12,11,10,9,8},pypy3{10,9,8}
skip_missing_interpreters = true

[testenv]
deps =
pytest
commands =
pytest

pytest {posargs}

0 comments on commit 5f7c578

Please sign in to comment.