forked from bloomberg/pytest-memray
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (29 loc) · 657 Bytes
/
tox.ini
File metadata and controls
38 lines (29 loc) · 657 Bytes
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]
envlist = py310-cov, py310, py39, py38
isolated_build = true
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310-cov, py310
[testenv]
setenv = COVERAGE_FILE={toxworkdir}/.coverage.{envname}
extras = test
passenv = TOXENV CI PATH
description =
Run tests under {basepython}
cov: with coverage
commands = make check
commands_cov= make coverage
whitelist_externals = make
prettier
[testenv:lint]
description = lint code in {basepython}
extras = lint
commands = make lint
[testenv:py310-cov]
usedevelop = True
commands = {[testenv]commands_cov}
[coverage:report]
skip_covered = True
show_missing = True