Skip to content

Commit

Permalink
forgot tox ini
Browse files Browse the repository at this point in the history
  • Loading branch information
tjlane committed Oct 28, 2024
1 parent 4a3b11d commit ffd0c07
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[tox]
envlist = py{311,312,313}-{linux,macos,windows}
isolated_build = true
toxworkdir=/tmp/.tox

[gh-actions]
python =
3.11: py311
3.12: py312
3.13: py313

[gh-actions:env]
PLATFORM =
ubuntu-latest: linux
macos-latest: macos
windows-latest: windows

[testenv]
platform =
macos: darwin
linux: linux
windows: win32
passenv = CI GITHUB_ACTIONS DISPLAY XAUTHORITY
setenv =
PYTHONPATH = {toxinidir}
extras =
test
commands =
pytest -v --cov=rs-template --cov-report=xml --color=yes --basetemp={envtmpdir} {posargs}

0 comments on commit ffd0c07

Please sign in to comment.