-
Notifications
You must be signed in to change notification settings - Fork 594
49 lines (44 loc) · 1.8 KB
/
full-dev-path.yml
File metadata and controls
49 lines (44 loc) · 1.8 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Tests that the installed Aztec toolchain works end-to-end.
# Exercises the full developer onboarding path: aztec init -> compile -> test -> start -> codegen -> TS end-to-end test.
name: Full Dev Path Test
on:
workflow_dispatch:
inputs:
version:
description: "Version to install (e.g. latest, nightly, 4.3.0, 4.3.0-nightly.20260420)"
required: true
type: string
push:
tags:
- "v*"
jobs:
full-dev-path:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
VERSION: ${{ github.event.inputs.version || github.ref_name }}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Run full dev path test
run: ./aztec-up/test/full-dev-path/run-test.sh
- name: Notify Slack on success
if: success() && github.event_name != 'workflow_dispatch'
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
run: |
export CI=1
./ci3/slack_notify "#team-fairies" \
"Full Dev Path Test passed for version ${VERSION} :white_check_mark:"
- name: Notify Slack and dispatch ClaudeBox on failure
if: failure() && github.event_name != 'workflow_dispatch'
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
run: |
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
export CI=1
./ci3/slack_notify_with_claudebox_kickoff "#team-fairies" \
"Full Dev Path Test FAILED (version ${VERSION}): <${RUN_URL}|View Run>" \
"Full dev path test failed for version ${VERSION}. CI run: ${RUN_URL}. Investigate the failure and explain the root cause." \
--link "$RUN_URL"