forked from MrRobot2211/SPNN
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
56 lines (48 loc) · 989 Bytes
/
tox.ini
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
45
46
47
48
49
50
51
52
53
54
55
56
[tox]
envlist =
py37,
py38,
; py39,
style,
coverage,
check-manifest
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
[py37]
basepython = py37
commands =
python setup.py sdist
[py38]
basepython = py38
commands =
python setup.py sdist
[py39]
basepython = py39
commands =
python setup.py sdist
[testenv]
deps =
pytest
pytest-coverage
commands = pytest tests/ --cov=ESPNN --cov-append --cov-report=term-missing --cov-report xml:coverage.xml
[testenv:style]
max-line-length = 79
exclude = tests/*
deps =
flake8
flake8-black
flake8-isort
isort<5
commands = flake8 ESPNN --ignore=I001,I003,E722,BLK100,F401,E501,I004
[testenv:coverage]
deps =
coverage
pytest-coverage
commands =
pytest tests/ --cov=ESPNN --cov-append --cov-report=term-missing --cov-report xml:/home/runner/work/ESPNN/ESPNN/coverage.xml --cov-fail-under=70
[testenv:check-manifest]
deps = check-manifest
commands = check-manifest