58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
name: Quant Engine CI/CD Pipeline
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
validate-and-build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.11'
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '18'
|
|
|
|
- name: Install Python Dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
pip install yfinance pandas pyyaml openpyxl
|
|
|
|
- name: Install Node Dependencies
|
|
run: npm install
|
|
|
|
- name: Validate Specs
|
|
run: python tools/validate_specs.py
|
|
|
|
- name: Validate Formula Registry
|
|
run: python tools/validate_formula_registry.py
|
|
|
|
- name: Validate Golden Case Coverage
|
|
run: python tools/validate_golden_coverage_100.py
|
|
|
|
- name: Build Rebalance Engine V2
|
|
run: python tools/build_rebalance_engine_v2.py
|
|
|
|
- name: Ingest Fundamentals V2 (Dry Run)
|
|
run: python tools/ingest_fundamental_raw.py --no-naver
|
|
env:
|
|
DART_API_KEY: ${{ secrets.DART_API_KEY }}
|
|
|
|
- name: Run Full Integration Gate
|
|
run: python tools/run_release_dag_v3.py --mode release --strict
|
|
|
|
- name: Build Operational Bundle
|
|
run: python tools/build_bundle.py
|