From 29734db9b96a208fc7f206a8f34664fa3cc2cc4b Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Mon, 13 Jul 2026 11:35:16 +0900 Subject: [PATCH] fix(ci): explicitly pass PYTHONPATH in validate-ui-and-storage python runs --- .gitea/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c3977b06..201533cd 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -318,10 +318,14 @@ jobs: /usr/bin/python3 -c 'import requests, yaml, openpyxl, pytest; print("Python dependencies: PASS")' - name: Validate Snapshot Admin Web UI - run: python3 tools/validate_snapshot_admin_web_v1.py + run: | + PYTHON_DEPS="$HOME/python_deps/$(md5sum tools/validate_snapshot_admin_web_v1.py | cut -d' ' -f1)" + PYTHONPATH="$PYTHON_DEPS:${PYTHONPATH:-}" python3 tools/validate_snapshot_admin_web_v1.py - name: Validate Storage Backend Contracts - run: python3 -m pytest tests/unit/test_storage_backend_v1.py tests/unit/test_validate_kis_api_credentials_v1.py tests/unit/test_qualitative_sell_strategy_store_v1.py tests/unit/test_kis_api_client_v1.py tests/unit/test_snapshot_admin_store_v1.py tests/unit/test_snapshot_admin_web_v1.py -q + run: | + PYTHON_DEPS="$HOME/python_deps/$(md5sum tools/validate_snapshot_admin_web_v1.py | cut -d' ' -f1)" + PYTHONPATH="$PYTHON_DEPS:${PYTHONPATH:-}" python3 -m pytest tests/unit/test_storage_backend_v1.py tests/unit/test_validate_kis_api_credentials_v1.py tests/unit/test_qualitative_sell_strategy_store_v1.py tests/unit/test_kis_api_client_v1.py tests/unit/test_snapshot_admin_store_v1.py tests/unit/test_snapshot_admin_web_v1.py -q - name: Notify PR Result if: always() && github.event_name == 'pull_request'