Run CI tests as a Python module to resolve project imports
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-09-13 19:51:02 +09:00
parent cb35bb12e3
commit 1b34e27dbb

View File

@@ -18,7 +18,7 @@ steps:
- ruff check src main.py scripts tests migrations - ruff check src main.py scripts tests migrations
- python scripts/check_secrets.py - python scripts/check_secrets.py
- pip-audit -r requirements.txt - pip-audit -r requirements.txt
- pytest -q - python -m pytest -q
- name: postgres-tests - name: postgres-tests
image: python:3.12-slim image: python:3.12-slim
@@ -31,7 +31,7 @@ steps:
- python scripts/wait_database.py - python scripts/wait_database.py
- alembic upgrade head - alembic upgrade head
- python scripts/check_schema.py - python scripts/check_schema.py
- pytest -q - python -m pytest -q
- name: package - name: package
image: python:3.12-slim image: python:3.12-slim