tests: run tests concurrently

This commit is contained in:
missytake 2025-04-11 07:12:02 +02:00
parent ce4f9ed8f4
commit 3f816baf2b
Signed by: missytake
GPG key ID: 04CC6658320518DF
2 changed files with 16 additions and 1 deletions

View file

@ -24,3 +24,16 @@ With the "/generate-invite" command,
you can also generate an invite link for the bot
so you can publish it.
## Contribute
Pull Requests are very welcome!
To run the tests and lint checks:
```
python3 -m venv venv
. venv/bin/activate
pip install -e .[dev]
tox
```

View file

@ -33,6 +33,7 @@ console_scripts =
[options.extras_require]
dev =
pytest
pytest-xdist
tox
black
@ -50,8 +51,9 @@ commands =
[testenv]
deps =
pytest
pytest-xdist
commands =
pytest tests
pytest -n2 tests
[flake8]
max_line_length = 120