fix: fallback when Feishu text updates are rejected #13
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/alphaclaude | |
| - name: Engine CLI help | |
| run: python -m alphaclaude.engine.cli --help | |
| - name: Quote CLI help | |
| run: python -m alphaclaude.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 alphaclaude.tools.$tool schema..." | |
| python -m "alphaclaude.tools.$tool" --help > /dev/null 2>&1 || { | |
| echo "ERROR: alphaclaude.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..." | |
| python -m alphaclaude.tools.signal_rules --list | |
| echo "Baseline check OK" | |
| - name: Risk calculator help | |
| run: | | |
| python -m alphaclaude.tools.risk --help | |
| - name: Signal validator help | |
| run: | | |
| python -m alphaclaude.tools.signal --help |