Skip to content

Commit 9caa041

Browse files
pawelangelowclaude
andcommitted
test(ci): move full FE suite to its own purpose-named workflow
Name the workflow for what it does (Frontend Full Test Suite), not when it runs, so a future schedule change doesn't make the name lie. Adds workflow_dispatch for manual/on-demand runs; reverts weekly.yml to just licenses-check. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 083bd86 commit 9caa041

2 files changed

Lines changed: 39 additions & 31 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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

.github/workflows/weekly.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,3 @@ jobs:
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

0 commit comments

Comments
 (0)