Ci monitor support performance (#10965)
This commit is contained in:
15
.github/workflows/ci-monitor.yml
vendored
15
.github/workflows/ci-monitor.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install requests
|
||||
pip install requests matplotlib pandas
|
||||
|
||||
- name: Run CI Analysis
|
||||
env:
|
||||
@@ -43,9 +43,20 @@ jobs:
|
||||
cd scripts/ci_monitor
|
||||
python ci_analyzer.py --token $GITHUB_TOKEN --limit ${{ github.event.inputs.limit || '1000' }} --output ci_analysis_$(date +%Y%m%d_%H%M%S).json
|
||||
|
||||
- name: Run Performance Analysis
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI }}
|
||||
PYTHONUNBUFFERED: 1
|
||||
PYTHONIOENCODING: utf-8
|
||||
run: |
|
||||
cd scripts/ci_monitor
|
||||
python ci_analyzer_perf.py --token $GITHUB_TOKEN --limit 500 --output-dir performance_tables_$(date +%Y%m%d_%H%M%S)
|
||||
|
||||
- name: Upload Analysis Results
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ci-analysis-results-${{ github.run_number }}
|
||||
path: scripts/ci_monitor/ci_analysis_*.json
|
||||
path: |
|
||||
scripts/ci_monitor/ci_analysis_*.json
|
||||
scripts/ci_monitor/performance_tables_*
|
||||
retention-days: 30
|
||||
|
||||
Reference in New Issue
Block a user