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'