File: tox.ini

package info (click to toggle)
dosage 3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,400 kB
  • sloc: python: 12,703; sh: 55; makefile: 6
file content (38 lines) | stat: -rw-r--r-- 863 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
[tox]
min_version = 4.0
envlist = py38, py39, py310, py311, py312, py313, py314

[gh-actions]
python =
    3.8: py38
    3.9: py39
    3.10: py310
    3.11: py311
    3.12: py312
    3.13: py313
    3.14: py314

[testenv]
package = editable

commands =
    {envbindir}/pytest --tb=short \
        --junitxml={toxworkdir}/reports/{envname}/junit.xml \
        --alluredir={toxworkdir}/reports/{envname}/allure-data \
        --cov \
        --cov-context=test \
        --cov-report=term \
        --cov-report=lcov:{toxworkdir}/reports/{envname}/coverage.lcov \
        --cov-report=xml:{toxworkdir}/reports/{envname}/coverage.xml \
        --cov-report=html:{toxworkdir}/reports/{envname}/htmlcov \
        {posargs}

# Also install extra dependencies for tests.
extras =
    bash
    compression
    dev

[pytest]
filterwarnings = default
junit_family = xunit2