File tree Expand file tree Collapse file tree 2 files changed +42
-42
lines changed Expand file tree Collapse file tree 2 files changed +42
-42
lines changed Original file line number Diff line number Diff line change @@ -36,3 +36,45 @@ exclude_lines =
3636all-files = true
3737source-dir = docs/source
3838build-dir = docs/build
39+
40+ [tox:tox]
41+ envlist =
42+ py3{7,8}-nocov,
43+ py39-{cov,mypy,lint,docs}
44+
45+ [gh-actions]
46+ python =
47+ 3.7: py37-nocov
48+ 3.8: py38-nocov
49+ 3.9: py39-{cov,mypy,lint,docs}
50+
51+ [testenv]
52+ wheel = true
53+ extras = all
54+ passenv = *
55+ usedevelop =
56+ nocov: false
57+ cov: true
58+ deps =
59+ nocov: -r requirements/test.txt
60+ cov: -r requirements/test.txt
61+ commands =
62+ nocov: pytest tests --no-cov {posargs}
63+ cov: pytest tests {posargs}
64+
65+ [testenv:py38-mypy]
66+ deps = -r requirements/mypy.txt
67+ commands = mypy --strict idom
68+
69+ [testenv:py38-lint]
70+ skip_install = true
71+ deps = -r requirements/lint.txt
72+ commands =
73+ black . --check --exclude " idom/client/app/node_modules/.*"
74+ flake8 idom tests docs
75+
76+ [testenv:py38-docs]
77+ deps = -r requirements/docs.txt
78+ commands =
79+ sphinx-build -b html docs/source docs/build
80+ sphinx-build -b doctest docs/source docs/build
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments