From 1b34e27dbb437142c13278aaf57a3e570f292f1a Mon Sep 17 00:00:00 2001 From: Trevor1985 Date: Sun, 13 Sep 2026 19:51:02 +0900 Subject: [PATCH] Run CI tests as a Python module to resolve project imports --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 80a485e..1ebcb03 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,7 +18,7 @@ steps: - ruff check src main.py scripts tests migrations - python scripts/check_secrets.py - pip-audit -r requirements.txt - - pytest -q + - python -m pytest -q - name: postgres-tests image: python:3.12-slim @@ -31,7 +31,7 @@ steps: - python scripts/wait_database.py - alembic upgrade head - python scripts/check_schema.py - - pytest -q + - python -m pytest -q - name: package image: python:3.12-slim