From 3db2606d6af2cc49fa7e834bd105ffab03cc9a1c Mon Sep 17 00:00:00 2001 From: John Skiles Skinner Date: Tue, 2 Apr 2024 08:53:49 -0700 Subject: [PATCH] Move createdb step The command `createdb test_notification_api` is a prereq to running `make test`. Clarify that it is not just a troubleshooting step. --- docs/all.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/all.md b/docs/all.md index 5d3decefa..2e98b84d1 100644 --- a/docs/all.md +++ b/docs/all.md @@ -254,6 +254,9 @@ We do not maintain any hooks in this repository. # install dependencies, etc. make bootstrap +# Create test database +createdb test_notification_api + make test ``` @@ -262,8 +265,6 @@ This will run: - isort for import styling - pytest for the test suite -If you see an error about a missing test database, run `createdb test_notification_api`. - On GitHub, in addition to these tests, we run: - bandit for code security - pip-audit for dependency vulnerabilities