Update CONTRIBUTING to add postgres step

This commit is contained in:
Son Nguyen Kim 2021-08-06 09:14:55 +02:00
parent a13953e13f
commit 12150a3656
1 changed files with 7 additions and 1 deletions

View File

@ -54,7 +54,13 @@ You also need to install `gpg`, on Mac it can be done with:
brew install gnupg
```
Then make sure all tests pass
Then make sure all tests pass. You need to run a local postgres database to run tests, it can be run with docker with:
```bash
docker run -e POSTGRES_PASSWORD=test -e POSTGRES_USER=test -e POSTGRES_DB=test -p 5432:5432 postgres:13
```
then run all tests
```bash
pytest