Skip to content

Commit

Permalink
Update tox config [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
mpasternak committed Aug 9, 2022
1 parent c603ad4 commit 1b0aa1e
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
distshare={homedir}/.tox/distshare
envlist=linters,py38-xdist,py38-pytest-latest,py38
envlist=linters,py{38,39,310}-xdist,py{38,39,310}-pytest-latest,py{38,39,310}
skip_missing_interpreters = true

[testenv]
Expand All @@ -11,7 +11,7 @@ deps =
passenv = DISPLAY

[testenv:linters]
basepython=python3.8
basepython=python3.10
commands={[testenv]commands} pytest_splinter --black

[testenv:coveralls]
Expand All @@ -23,17 +23,15 @@ commands=
coverage report -m
coveralls

[testenv:py38-xdist]
basepython=python3.8
[testenv:xdist]
deps =
{[testenv]deps}
pytest-xdist
commands=
py.test pytest_splinter tests -n1 -rfsxX \
--junitxml={envlogdir}/junit-{envname}.xml

[testenv:py38-pytest-latest]
basepython=python3.8
[testenv:pytest-latest]
deps =
{[testenv]deps}
git+https://github.com/pytest-dev/py.git#egg=py
Expand All @@ -44,10 +42,6 @@ addopts = -vvl -r w

[gh-actions]
python =
2.7: py27
3.5: py35
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310

0 comments on commit 1b0aa1e

Please sign in to comment.