File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : tests
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ python-version : ["3.10", "3.11", "3.12"]
15+ steps :
16+ - uses : actions/checkout@v4
17+ - name : Set up Python ${{ matrix.python-version }}
18+ uses : actions/setup-python@v5
19+ with :
20+ python-version : ${{ matrix.python-version }}
21+ - name : Install dependencies
22+ run : |
23+ python -m pip install --upgrade pip
24+ pip install -r requirements.txt
25+ - name : Run unit tests
26+ run : python -m unittest tests.test_backtest -v
27+ - name : Smoke test backtest engine
28+ run : python backtest.py > /dev/null
29+ - name : Smoke test regime comparison
30+ run : python compare_regime_scenarios.py > /dev/null
31+ - name : Smoke test live_demo (mock fallback)
32+ run : python live_demo.py --json > /dev/null
33+ - name : Validate skill.yaml syntax
34+ run : python -c "import yaml; yaml.safe_load(open('skill.yaml'))"
You can’t perform that action at this time.
0 commit comments