fix(ci): explicitly pass PYTHONPATH in validate-ui-and-storage python runs
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user