Skip to content

Commit 5638dca

Browse files
authored
Add coverage to tox (#9774)
2 parents c97de20 + 9caaa72 commit 5638dca

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/test-mingw.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ concurrency:
2222
cancel-in-progress: true
2323

2424
env:
25-
COVERAGE_CORE: sysmon
2625
FORCE_COLOR: 1
2726

2827
jobs:

.github/workflows/test-windows.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ concurrency:
2222
cancel-in-progress: true
2323

2424
env:
25-
COVERAGE_CORE: sysmon
2625
FORCE_COLOR: 1
2726

2827
jobs:

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ concurrency:
2222
cancel-in-progress: true
2323

2424
env:
25-
COVERAGE_CORE: sysmon
2625
FORCE_COLOR: 1
2726
PIP_DISABLE_PIP_VERSION_CHECK: 1
2827

tox.ini

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
[tox]
22
requires =
3-
tox>=4.2
3+
tox>=4.32
44
env_list =
55
lint
66
mypy
7-
py{py3, 315, 314, 313, 312, 311, 310}
7+
py{py3}
8+
py{310-315}
9+
py{314-315}t
810

911
[testenv]
1012
deps =
@@ -15,6 +17,11 @@ extras =
1517
commands =
1618
{envpython} selftest.py
1719
{envpython} -m pytest \
20+
--cov PIL \
21+
--cov Tests \
22+
--cov-report html \
23+
--cov-report term \
24+
--cov-report xml \
1825
--dist worksteal \
1926
--numprocesses auto \
2027
-W always \

0 commit comments

Comments
 (0)