mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2025-09-18 05:29:37 +08:00
Improve pytest config
This commit is contained in:
parent
54c311f769
commit
a3a9351682
2 changed files with 3 additions and 1 deletions
|
@ -52,7 +52,7 @@ steps:
|
|||
commands:
|
||||
- uv sync --frozen
|
||||
- export PATH=".venv/bin:$PATH"
|
||||
- pytest src/
|
||||
- pytest
|
||||
- name: discord
|
||||
image: appleboy/drone-discord
|
||||
settings:
|
||||
|
|
|
@ -30,3 +30,5 @@ dependencies = [
|
|||
|
||||
[tool.pytest.ini_options]
|
||||
DJANGO_SETTINGS_MODULE = "tests.settings"
|
||||
testpaths = ["src/tests"]
|
||||
pythonpath = ["src"]
|
Loading…
Add table
Add a link
Reference in a new issue