chore: 准备开源发布 - 只保留源代码
移除所有非源代码文件: - 删除 docs/ 目录(所有内部文档) - 删除 tests/ 目录(所有测试文件) - 删除 .github/ 目录(CI/CD 配置) - 删除 .kiro/ 目录(IDE 配置) - 删除 CONTRIBUTING.md, SECURITY.md 更新项目文件: - 重写 README.md,简洁清晰(从 1600+ 行压缩到 237 行) - 更新 .gitignore,忽略所有非源代码文件 - 使用 ASCII art 展示界面布局 - 添加 Shields.io 徽章美化项目 保留的文件: - 源代码:outlook_web/, static/, templates/ - 入口文件:web_outlook_app.py, start.py, outlook_mail_reader.py - 配置文件:requirements.txt, Dockerfile, .dockerignore, .env.example - 项目文档:README.md, LICENSE, .gitignore Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
39854520e6
commit
ba83ca3bf6
134 files changed
+200
-32083
No files matched your search
@@ -1,48 +0,0 @@
|
||||
name: Python Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main", "master" ]
|
||||
paths:
|
||||
- "**.py"
|
||||
- "requirements.txt"
|
||||
- "tests/**"
|
||||
- ".github/workflows/python-tests.yml"
|
||||
pull_request:
|
||||
paths:
|
||||
- "**.py"
|
||||
- "requirements.txt"
|
||||
- "tests/**"
|
||||
- ".github/workflows/python-tests.yml"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: [ "3.11", "3.12", "3.13" ]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install -r requirements.txt
|
||||
|
||||
- name: Syntax check
|
||||
run: |
|
||||
python -m py_compile web_outlook_app.py
|
||||
python -m py_compile outlook_mail_reader.py
|
||||
|
||||
- name: Run unit tests
|
||||
run: python -m unittest discover -s tests -v
|
||||
|
||||
Reference in new issue
Block a user