Initial commit
This commit is contained in:
commit
34eae37ba4
496 files changed
+72438
No files matched your search
@@ -0,0 +1,45 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
cache: pip
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -e .
|
||||
|
||||
- name: Syntax check
|
||||
run: |
|
||||
cd agent
|
||||
python -m py_compile cli.py
|
||||
python -m py_compile api_server.py
|
||||
python -m py_compile mcp_server.py
|
||||
python -m py_compile src/agent/loop.py
|
||||
python -m py_compile src/tools/__init__.py
|
||||
python -m py_compile backtest/runner.py
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
cache: npm
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
|
||||
- name: Frontend build
|
||||
run: |
|
||||
cd frontend
|
||||
npm ci
|
||||
npm run build
|
||||
Reference in new issue
Block a user