Improve pytest config

This commit is contained in:
Keannu Christian Bernasol 2025-09-13 20:54:50 +08:00
parent 54c311f769
commit a3a9351682
2 changed files with 3 additions and 1 deletions

View file

@ -52,7 +52,7 @@ steps:
commands:
- uv sync --frozen
- export PATH=".venv/bin:$PATH"
- pytest src/
- pytest
- name: discord
image: appleboy/drone-discord
settings:

View file

@ -30,3 +30,5 @@ dependencies = [
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
testpaths = ["src/tests"]
pythonpath = ["src"]