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
33 changes: 33 additions & 0 deletions .github/workflows/ci-analysis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# CI Performance Analysis
#
# Analyses the most recent successful runs of the main build-and-test
# workflow (pull-request-checks.yaml) and publishes a Markdown summary
# of the slowest jobs, test suites, and individual tests.
#
# Results are visible in the GitHub Actions UI:
# 1. Go to the "Actions" tab of the repository.
# 2. Select the "CI Performance Analysis" workflow on the left.
# 3. Click the most recent run, then the "analyse" job.
# 4. Expand the "Summary" section at the top of the job page.
#
# The underlying script is scripts/ci_analysis.py. Run it locally with
# --help for additional options (e.g. --runs, --top, --log-dir).
name: CI Performance Analysis
on:
push:
branches: [develop]

jobs:
analyse:
runs-on: ubuntu-latest
permissions:
actions: read
steps:
- uses: actions/checkout@v6
- name: Analyse recent CI runs
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python3 scripts/ci_analysis.py \
--runs 5 --top 20 --markdown --quiet \
>> "$GITHUB_STEP_SUMMARY"
Loading
Loading