docs: launch project site and visual showcase #39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [master, main] | |
| pull_request: | |
| branches: [master, main] | |
| jobs: | |
| verification: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| cache: 'pip' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install -e . | |
| pip install pytest | |
| - name: Pytest | |
| run: python -m pytest -q | |
| - name: Compile package | |
| run: python -m compileall -q src/openalphastack | |
| - name: Unified CLI help | |
| run: openalphastack --help | |
| - name: Engine CLI help | |
| run: openalphastack engine start --help | |
| - name: Quote CLI help | |
| run: openalphastack tools quote --help | |
| - name: Tool schema check | |
| run: | | |
| for tool in quote technical fundamental flow news screen backtest trend signal_detector pivot fibonacci sentiment portfolio risk signal signal_rules; do | |
| echo "Checking openalphastack tools $tool schema..." | |
| openalphastack tools "$tool" --help > /dev/null 2>&1 || { | |
| echo "ERROR: openalphastack tools $tool --help failed" | |
| exit 1 | |
| } | |
| done | |
| echo "All package tools pass schema check" | |
| - name: Signal rules baseline check | |
| run: | | |
| echo "Running signal_rules --list..." | |
| openalphastack tools signal_rules --list | |
| echo "Baseline check OK" | |
| - name: Risk calculator help | |
| run: | | |
| openalphastack tools risk --help | |
| - name: Signal validator help | |
| run: | | |
| openalphastack tools signal --help |