File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Frontend Full Test Suite
2+
3+ # Runs the entire FE unit suite with coverage — the safety net behind the
4+ # affected-only run on PRs. Scheduled weekly, and manually triggerable.
5+ on :
6+ schedule :
7+ - cron : 0 0 * * 1
8+ workflow_dispatch :
9+
10+ jobs :
11+ frontend-tests-full :
12+ uses : ./.github/workflows/tests-frontend.yml
13+ secrets : inherit
14+ with :
15+ full : true
16+
17+ # Always report the result to Slack (green heartbeat + failure alert).
18+ notify-slack :
19+ name : Report FE full-suite result to Slack
20+ needs : frontend-tests-full
21+ if : always()
22+ runs-on : ubuntu-latest
23+ steps :
24+ - name : Post to Slack
25+ uses : slackapi/slack-github-action@v3.0.3
26+ with :
27+ method : chat.postMessage
28+ token : ${{ secrets.SLACK_TEST_REPORT_KEY }}
29+ payload : |
30+ channel: "${{ secrets.SLACK_TEST_REPORT_CHANNEL }}"
31+ text: "${{ needs.frontend-tests-full.result == 'success' && ':white_check_mark:' || ':x: <!here>' }} *FE full suite: ${{ needs.frontend-tests-full.result }}* — `${{ github.repository }}` @ `${{ github.sha }}`"
32+ attachments:
33+ - color: "${{ needs.frontend-tests-full.result == 'success' && '#2eb886' || '#cc0000' }}"
34+ title: "${{ github.workflow }}"
35+ title_link: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
36+ fields:
37+ - title: "Frontend full suite"
38+ value: "${{ needs.frontend-tests-full.result }}"
39+ short: true
Original file line number Diff line number Diff line change 77 licenses-check :
88 uses : ./.github/workflows/licenses-check.yml
99 secrets : inherit
10-
11- # Full FE unit suite (with coverage) — the safety net for affected-only PRs.
12- frontend-tests-full :
13- uses : ./.github/workflows/tests-frontend.yml
14- secrets : inherit
15- with :
16- full : true
17-
18- # Always report the weekly result to Slack (green heartbeat + failure alert).
19- notify-slack :
20- name : Report weekly FE result to Slack
21- needs : frontend-tests-full
22- if : always()
23- runs-on : ubuntu-latest
24- steps :
25- - name : Post to Slack
26- uses : slackapi/slack-github-action@v3.0.3
27- with :
28- method : chat.postMessage
29- token : ${{ secrets.SLACK_TEST_REPORT_KEY }}
30- payload : |
31- channel: "${{ secrets.SLACK_TEST_REPORT_CHANNEL }}"
32- text: "${{ needs.frontend-tests-full.result == 'success' && ':white_check_mark:' || ':x: <!here>' }} *Weekly FE full suite: ${{ needs.frontend-tests-full.result }}* — `${{ github.repository }}` @ `${{ github.sha }}`"
33- attachments:
34- - color: "${{ needs.frontend-tests-full.result == 'success' && '#2eb886' || '#cc0000' }}"
35- title: "${{ github.workflow }}"
36- title_link: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
37- fields:
38- - title: "Frontend full suite"
39- value: "${{ needs.frontend-tests-full.result }}"
40- short: true
You can’t perform that action at this time.
0 commit comments