File: tox.ini

package info (click to toggle)
python-greenlet 3.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,100 kB
  • sloc: cpp: 5,195; python: 3,333; ansic: 1,138; makefile: 145; asm: 120; sh: 73
file content (33 lines) | stat: -rw-r--r-- 893 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[tox]
envlist =
    py{37,38,39,310,311,312,313,314},py{310,311,312,313,314}-ns,docs,py314t,tsan-314#,tsan-314t

[testenv]
commands =
    python -c 'import greenlet._greenlet as G; assert G.GREENLET_USE_STANDARD_THREADING'
    python -m unittest discover -v greenlet.tests
    sphinx-build -b doctest -d docs/_build/doctrees-{envname} docs docs/_build/doctest-{envname}
sitepackages = False
extras =
    test
    docs



[testenv:docs]
# usedevelop to save rebuilding the extension
usedevelop = true
commands =
    sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
    sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
extras = docs

[testenv:tsan-314t]
basepython = /usr/local/python-builds/tsan/bin/python3.14t
passenv =
    TSAN_OPTIONS

[testenv:tsan-314]
basepython = /usr/local/python-builds/default-tsan/bin/python3.14
passenv =
    TSAN_OPTIONS