Skip to content

Commit

Permalink
Adjust coverage configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
ubernostrum committed Sep 26, 2024
1 parent 690949b commit a3b9397
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
python-versions: ${{ steps.baipp.outputs.supported_python_classifiers_json_array }}

tests:
name: Tests on ${{ matrix.python-version }}
name: Tests on Python ${{ matrix.python-version }}
needs: build-package
runs-on: ubuntu-latest
strategy:
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def docs_spellcheck(session: nox.Session) -> None:
clean()


@nox.session(python=["3.12"], tags=["docs", "tests"])
@nox.session(python=["3.12"], tags=["docs"])
def docs_test(session: nox.Session) -> None:
"""
Run the code samples in the documentation with doctest, to ensure they are
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,16 @@ skips = ["B101"]
[tool.black]
target-version = ["py38", "py39", "py310", "py311", "py312"]

[tool.coverage.paths]
source = ["src", ".nox/tests_with_coverage*/**/site-packages"]

[tool.coverage.report]
fail_under = 100

[tool.coverage.run]
branch = true
parallel = true
source = ["webcolors"]

[tool.interrogate]
ignore-init-module = true
Expand Down

0 comments on commit a3b9397

Please sign in to comment.