~naglis/aio_mpv_ipc

1b6c8406794e5c2edb46c260dac040849943d636 — Naglis Jonaitis 9 months ago dad5fb7
Improve coverage CI workflow
2 files changed, 6 insertions(+), 0 deletions(-)

M pyproject.toml
M scripts/ci/coverage.sh
M pyproject.toml => pyproject.toml +5 -0
@@ 35,3 35,8 @@ multi_line_output = 3
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

[tool.coverage.run]
source = ["aio_mpv_ipc"]

[tool.coverage.report]
exclude_lines = ["pragma: no cover", "def __repr__", "if self\\.debug", "raise AssertionError", "raise NotImplementedError", "if 0:", "if __name__ == .__main__.:"]

M scripts/ci/coverage.sh => scripts/ci/coverage.sh +1 -0
@@ 3,4 3,5 @@ set -euxo pipefail

source $HOME/.poetry/env
poetry run coverage report
poetry run coverage xml
poetry run codecov --token ${CODECOV_TOKEN}