diff --git a/README.md b/README.md index 26cc188..2d96b66 100644 --- a/README.md +++ b/README.md @@ -83,9 +83,11 @@ The poetry virtual environment should be available in the the project folder as For testing you need to install [nox](https://nox.thea.codes/en/stable/) separately from the project venv created by poetry. For testing just use the `nox` command within the project folder. You can run all the nox sessions separately if need, e.g., - only linting `nox -rs lint` -- only testing `nox -rs test` +- only testing `nox -rs tests` -For different sessions see the `nox.py` file. Please make sure all tests and checks pass before opening pull requests! +For different sessions see the `nox.py` file. You can run `nox --list` to see a list of all available sessions. + +Please make sure all tests and checks pass before opening pull requests! ### [pre-commit](https://pre-commit.com/) diff --git a/noxfile.py b/noxfile.py index cad7327..cf99713 100644 --- a/noxfile.py +++ b/noxfile.py @@ -13,6 +13,7 @@ "KARMABOT_SLACK_INVITE_USER_TOKEN": "FAKE_INVITE_USER_TOKEN", "KARMABOT_GENERAL_CHANNEL": "GENERAL", "KARMABOT_ADMINS": "FAKE_ADMIN", + "KARMABOT_DATABASE_URL": "FAKE_URL", } nox.options.sessions = "lint", "mypy", "safety", "tests"