Add nightly test CI monitor workflow (#13038)

This commit is contained in:
alisonshao
2025-11-20 12:55:13 -08:00
committed by GitHub
parent 42028af614
commit 5a2c70396e
2 changed files with 686 additions and 32 deletions
+10
View File
@@ -46,6 +46,15 @@ jobs:
cd scripts/ci_monitor
python ci_analyzer.py --token $GITHUB_TOKEN --limit ${{ inputs.limit || '1000' }} --output ci_analysis_$(date +%Y%m%d_%H%M%S).json
- name: Run Nightly Test Analysis
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }}
PYTHONUNBUFFERED: 1
PYTHONIOENCODING: utf-8
run: |
cd scripts/ci_monitor
python ci_analyzer.py --token $GITHUB_TOKEN --mode nightly --days 2 --output nightly_analysis_$(date +%Y%m%d_%H%M%S).json
- name: Run Performance Analysis
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }}
@@ -61,6 +70,7 @@ jobs:
name: ci-analysis-results-${{ github.run_number }}
path: |
scripts/ci_monitor/ci_analysis_*.json
scripts/ci_monitor/nightly_analysis_*.json
scripts/ci_monitor/performance_tables_*
retention-days: 30