diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 6acaa4a..eef9b18 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -43,7 +43,6 @@ jobs: cat <<< "$TEST_CFG" > tests/test.cfg (echo "===== tests attempt: 1 ====" && pdm run pytest) || \ (echo "===== tests attempt: 2 ====" && pdm run pytest) - pdm run pytest pdm run coverage xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 diff --git a/pyproject.toml b/pyproject.toml index db28899..3c89578 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,6 +48,9 @@ addopts = "--verbose --cov" [tool.coverage.run] source = ["ytmusicapi"] +[tool.coverage.report] +precision = 2 + [tool.ruff] line-length = 110 ignore = [ "F403", "F405", "F821", "E731" ]