aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-06-27 22:54:30 +0100
committerGravatar GitHub <[email protected]>2021-06-27 22:54:30 +0100
commit1b9035ca4b070aca33ea81173f89ae5cd56e7699 (patch)
treec08acc9e27620beabfd0d26d1f396bee4f5f0ca1 /pyproject.toml
parentMerge pull request #1658 from python-discord/wookie184-voiceverify-alias (diff)
parentMerge branch 'main' into xdist (diff)
Merge pull request #1626 from python-discord/xdist
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 04be1bf33..8368f80eb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -47,6 +47,9 @@ pep8-naming = "~=0.9"
pre-commit = "~=2.1"
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"] }
[build-system]
requires = ["poetry-core>=1.0.0"]
@@ -58,6 +61,7 @@ lint = "pre-commit run --all-files"
precommit = "pre-commit install"
build = "docker build -t ghcr.io/python-discord/bot:latest -f Dockerfile ."
push = "docker push ghcr.io/python-discord/bot:latest"
-test = "coverage run -m unittest"
+test-nocov = "pytest -n auto"
+test = "pytest -n auto --cov-report= --cov"
html = "coverage html"
report = "coverage report"