[tox]
minversion = 3.14.0
envlist = py36, py37, py38, py39, lint
skip_missing_interpreters = true

[testenv]
extras = testing
commands = coverage run -m pytest {posargs}

[testenv:lint]
skip_install = true
basepython = python3.9
extras = tests
deps =
    flake8
    black
commands =
    make lint

[testenv:coverage-report]
deps = coverage
skip_install = true
commands =
    coverage combine
    coverage report

[gh-actions]
python =
    3.6: py36
    3.7: py37
    3.8: py38
    3.9: py39, lint
    pypy3: pypy3

[tox]
minversion = 3.14.0
envlist = py36, py37, py38, py39, py310, lint
skip_missing_interpreters = true

[testenv]
extras = testing
commands = coverage run -m pytest {posargs}

[testenv:lint]
skip_install = true
basepython = python3.9
extras = tests
deps =
    flake8
    black
commands =
    make lint

[testenv:coverage-report]
deps = coverage
skip_install = true
commands =
    coverage combine
    coverage report

[gh-actions]
python =
    3.6: py36
    3.7: py37
    3.8: py38
    3.9: py39, lint
    3.10: py310
    pypy3: pypy3

Include Python 3.10 in Tox test runs.
build: Include Python 3.10 in Tox test runs.

Signed-off-by: Michael Seifert <47dcc024e7532b8660ec7c70e7b97dacd24ea73a@digitalernachschub.de>
