Skip to content

Commit 2598f2d

Browse files
committed
Update README files to include testing information and enhance GitHub Actions workflow
- Added a section on extensive testing in both English and Chinese README files, linking to the test results and pipeline for quality assurance. - Updated the analyze workflow to streamline the command for running the GitHub Stats Analyzer, improving output handling.
1 parent eca5a0c commit 2598f2d

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/analyze.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,11 @@ jobs:
3030
run: |
3131
# 创建结果目录
3232
mkdir -p results
33-
34-
echo "## 分析结果" > results/RESULT.md
35-
36-
echo "```" >> results/RESULT.md
3733
3834
# 运行分析器并将输出重定向到文件
39-
python -m github_stats_analyzer.main ${{ github.repository_owner }} --access-level full >> results/RESULT.md
40-
41-
echo "```" >> results/RESULT.md
35+
echo '```' > results/RESULT.md
36+
github-stats ${{ github.repository_owner }} --access-level full >> results/RESULT.md
37+
echo '```' >> results/RESULT.md
4238
4339
# 添加时间戳和 Python 版本信息
4440
echo -e "\n\n---\nLast updated: $(date -u)\nPython version: $(python --version)" >> results/RESULT.md

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ View the latest analysis results in the [stats branch](https://github.com/Sakura
3030
- **Detailed Logging**: Comprehensive logging for debugging
3131
- **Access Levels**: Supports both basic (no token) and full (with token) access modes
3232
- **Flexible Token Configuration**: Support for multiple ways to provide GitHub token
33+
- **Extensive Testing**: View our [test results and testing pipeline](https://github.com/SakuraPuare/github-stats-analyzer/blob/test-results/test_results/test_report.md) for quality assurance
3334

3435
## 🔧 Requirements
3536

README_CN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
- **详细日志**:用于调试的全面日志记录
3232
- **访问级别**:支持基础(无token)和完整(有token)两种访问模式
3333
- **灵活的Token配置**:支持多种方式提供GitHub token
34+
- **全面测试**:查看我们的[测试结果和测试流程](https://github.com/SakuraPuare/github-stats-analyzer/blob/test-results/test_results/test_report.md)以确保质量
3435

3536
## 🔧 要求
3637

0 commit comments

Comments
 (0)