aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-06-29 21:48:55 +0100
committerGravatar GitHub <[email protected]>2021-06-29 21:48:55 +0100
commitc4bfbe46ce102b061d84710c2dd79013c3b00cb4 (patch)
treef9e386c80febd8504ed16a7e1db9ed490d956579 /pyproject.toml
parentMerge pull request #1660 from python-discord/don't-allow-mods-to-be-watched (diff)
parentMerge branch 'main' into move-cov-config-to-toml (diff)
Merge pull request #1659 from python-discord/move-cov-config-to-toml
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml7
1 files changed, 6 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 8368f80eb..c76bb47d6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -49,7 +49,7 @@ taskipy = "~=1.7.0"
python-dotenv = "~=0.17.1"
pytest = "~=6.2.4"
pytest-cov = "~=2.12.1"
-pytest-xdist = { version = "~=2.2.1", extras = ["psutil"] }
+pytest-xdist = { version = "~=2.3.0", extras = ["psutil"] }
[build-system]
requires = ["poetry-core>=1.0.0"]
@@ -65,3 +65,8 @@ test-nocov = "pytest -n auto"
test = "pytest -n auto --cov-report= --cov"
html = "coverage html"
report = "coverage report"
+
+[tool.coverage.run]
+branch = true
+source_pkgs = ["bot"]
+source = ["tests"]