Skip to content
Merged
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
10 changes: 0 additions & 10 deletions .coveragerc

This file was deleted.

2 changes: 0 additions & 2 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ jobs:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
slug: liangliangyy/DjangoBlog
fail_ci_if_error: false
verbose: true

Expand All @@ -133,7 +132,6 @@ jobs:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella-fallback
slug: liangliangyy/DjangoBlog
fail_ci_if_error: false
verbose: true

Expand Down
50 changes: 47 additions & 3 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,56 @@ comment:
require_changes: no

ignore:
# Django 相关
- "*/migrations/*"
- "*/venv/*"
- "*/tests/*"
- "manage.py"
- "*/settings/*"
- "*/settings.py"
- "*/wsgi.py"
- "*/asgi.py"

# 测试相关
- "*/tests/*"
- "*/test_*.py"
- "*/*test*.py"

# 静态文件和模板
- "*/static/*"
- "*/templates/*"
- "*/collectedstatic/*"

# 国际化文件
- "*/locale/*"
- "**/*.po"
- "**/*.mo"

# 文档和部署
- "*/docs/*"
- "*/deploy/*"
- "README*.md"
- "LICENSE"
- "Dockerfile"
- "docker-compose*.yml"
- "*.yaml"
- "*.yml"

# 开发环境
- "*/venv/*"
- "*/__pycache__/*"
- "*.pyc"
- ".coverage"
- "coverage.xml"

# 日志文件
- "*/logs/*"
- "*.log"

# 特定文件
- "*/whoosh_cn_backend.py" # 搜索后端
- "*/elasticsearch_backend.py" # 搜索后端
- "*/MemcacheStorage.py" # 缓存存储
- "*/robot.py" # 机器人相关

# 配置文件
- "codecov.yml"
- ".coveragerc"
- "requirements*.txt"