[pytest]
xfail_strict=true

[tox]
envlist = py313-{base,chrome,firefox,opera,safari,sauce,servo,webkit,webkitgtk_minibrowser,epiphany},{py38,py39,py310,py311,py312}-base
skip_missing_interpreters = False

[testenv]
deps =
     -r{toxinidir}/../requirements_pytest.txt
     -r{toxinidir}/requirements.txt
     chrome: -r{toxinidir}/requirements_chromium.txt
     firefox: -r{toxinidir}/requirements_firefox.txt
     opera: -r{toxinidir}/requirements_opera.txt
     safari: -r{toxinidir}/requirements_safari.txt
     sauce: -r{toxinidir}/requirements_sauce.txt

commands = pytest -c{toxinidir}/../pytest.ini --rootdir={toxinidir} {posargs}

setenv = CURRENT_TOX_ENV = {envname}

passenv =
  TASKCLUSTER_ROOT_URL
