File: tox.ini

package info (click to toggle)
python-flexmock 0.13.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 680 kB
  • sloc: python: 3,856; makefile: 85; sh: 14
file content (44 lines) | stat: -rw-r--r-- 1,115 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
34
35
36
37
38
39
40
41
42
43
44
[tox]
isolated_build = True
envlist =
    pypy{3.10,3.11}-pytest-latest
    py310-pytest{6,7,8,9}
    py{311, 312}-pytest{7,8,9}
    py313-pytest{8,9}
    py314-pytest-latest

[gh-actions]
python =
    pypy-3.10: pypy3.10
    pypy-3.11: pypy3.11
    3.10: py310
    3.11: py311
    3.12: py312
    3.13: py313
    3.14: py314

[testenv]
deps =
    pytest6: pytest>=6.0,<7.0
    pytest7: pytest>=7.0,<8.0
    pytest8: pytest>=8.0,<9.0
    pytest9: pytest>=9.0,<10.0
    pytest-latest: pytest
    twisted
    zope.testrunner
    testtools
    python-subunit
    teamcity-messages

setenv = PYTHONPATH={toxinidir}
allowlist_externals = sh

commands =
    python tests/test_unittest.py
    python tests/test_doctest.py
    python -c "from twisted.scripts.trial import run; run();" tests/test_generic_integration.py
    zope-testrunner  --test-path=./ --test-file-pattern=test_generic_integration --verbose
    python -m testtools.run --verbose tests/test_testtools.py
    sh -c 'python -m subunit.run tests/test_generic_integration.py | subunit2pyunit'
    python tests/test_teamcity.py
    pytest tests/test_pytest.py