-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add CONTRIBUTING.md, allow running pytest directly in dev
- Loading branch information
Showing
3 changed files
with
840 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Contributing guide | ||
|
||
To contribute to this project, you'll need [Poetry](https://python-poetry.org/). | ||
|
||
```sh | ||
poetry install --with dev | ||
|
||
# run tests | ||
poetry run pytest | ||
``` | ||
|
||
We're also using [tox](https://tox.wiki/en/4.14.2/) to run the tests in all supported environments. Running the full test suite is simple: | ||
|
||
```sh | ||
tox | ||
``` | ||
|
||
If you'd like to run tests in a specific environment, use `-e`: | ||
```sh | ||
tox -e django42 | ||
``` |
Oops, something went wrong.