summaryrefslogtreecommitdiffstats
path: root/.github/workflows/collect_combined_summary.yml
blob: 21ef00c1becaf7890f3a2c75c9f5b3f3ecbc6e2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Collect Combined Summary

on:
  workflow_call:

jobs:
  collect_combined_summary:
    name: Collect Combined Summary
    runs-on: ubuntu-latest
    if: always()
    steps:
      - name: Checkout
        uses: actions/checkout@v5

      - name: Download all summary artifacts
        uses: actions/download-artifact@v6
        with:
          pattern: job-summary-*
          merge-multiple: true
          path: summary_artifacts

      - name: Clear old summary and add combined
        run: |
          # Clear existing summary
          > $GITHUB_STEP_SUMMARY
          # Add combined summary
          python3 .github/scripts/tests/collect_combined_summary.py \
            --artifacts-dir summary_artifacts \
            --output $GITHUB_STEP_SUMMARY