Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
push:
pull_request:

jobs:
python-checks:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install -r backend/requirements.txt
- run: python -m compileall backend scripts set_state.py office-agent-push.py
- run: python scripts/security_check.py

smoke:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: python -m pip install -r backend/requirements.txt
- run: cp state.sample.json state.json
- run: python backend/app.py &
- run: python scripts/smoke_test.py --base-url http://127.0.0.1:19000 --timeout 8 --retries 5 --skip-set-state
83 changes: 44 additions & 39 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,39 +1,44 @@
# Python environment
__pycache__/
*.py[cod]
*.pyo
*.pyd
*.egg-info/
.venv/
venv/
.env

# OS/editor
.DS_Store

# Runtime state (local only)
state.json
agents-state.json
runtime-config.json
*.log
*.out
*.pid
*.backup*
*.original
cloudflared.pid
cloudflared.out
healthcheck.log
backend.log

# Generated / mutable assets (local only)
assets/bg-history/
assets/home-favorites/
frontend/office_bg.png
frontend/*.bak
layers/
desktop-pet/src-tauri/icons/*Logo.png

# Electron local build artifacts
electron-shell/node_modules/
electron-shell/release/
join-keys.json
# Python environment
__pycache__/
*.py[cod]
*.pyo
*.pyd
*.egg-info/
.venv/
venv/
.env

# OS/editor
.DS_Store
.vscode/
.idea/
*.swp
*.swo
.trae/

# Runtime state (local only)
state.json
agents-state.json
runtime-config.json
*.log
*.out
*.pid
*.backup*
*.original
cloudflared.pid
cloudflared.out
healthcheck.log
backend.log

# Generated / mutable assets (local only)
assets/bg-history/
assets/home-favorites/
frontend/office_bg.png
frontend/*.bak
layers/
desktop-pet/src-tauri/icons/*Logo.png

# Electron local build artifacts
electron-shell/node_modules/
electron-shell/release/
join-keys.json
Loading