Skip to content

Commit d0ccb1c

Browse files
committed
ci: ensure mypy plugin coverage stats are collected
1 parent f5dc60d commit d0ccb1c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: poetry install
4343

4444
- name: "Run tests"
45-
run: poetry run coverage run --branch --source=decoy -m pytest
45+
run: poetry run coverage run --branch --source=decoy -m pytest --mypy-same-process
4646

4747
- name: "Generate coverage report"
4848
run: poetry run coverage xml

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<p>
66
<a title="CI Status" href="https://github.com/mcous/decoy/actions">
77
<img src="https://img.shields.io/github/workflow/status/mcous/decoy/Continuous%20integration/main?style=flat-square"></a>
8+
<a title="Code Coverage" href="https://app.codecov.io/gh/mcous/decoy/"><img src="https://img.shields.io/codecov/c/github/mcous/decoy?style=flat-square"></a>
89
<a title="License" href="https://github.com/mcous/decoy/blob/main/LICENSE"><img src="https://img.shields.io/github/license/mcous/decoy?style=flat-square"></a>
910
<a title="PyPI Version"href="https://pypi.org/project/decoy/"><img src="https://img.shields.io/pypi/v/decoy?style=flat-square"></a>
1011
<a title="Supported Python Versions" href="https://pypi.org/project/decoy/"><img src="https://img.shields.io/pypi/pyversions/decoy?style=flat-square"></a>

0 commit comments

Comments
 (0)