-
Notifications
You must be signed in to change notification settings - Fork 8
99 lines (93 loc) · 2.55 KB
/
Copy pathci-trigger.yml
File metadata and controls
99 lines (93 loc) · 2.55 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
name: "Trigger: PR and Merge"
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
actions: write
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
trigger-lint:
name: Run Lint
uses: ./.github/workflows/lint.yml
secrets: inherit
trigger-build:
name: Run Build
uses: ./.github/workflows/test-build.yml
secrets: inherit
trigger-build-gateway:
name: Run Gateway Build
permissions:
contents: read
actions: write
uses: ./.github/workflows/test-build-gateway.yml
secrets: inherit
trigger-twister:
name: Run Twister
permissions:
contents: read
actions: write
uses: ./.github/workflows/test-twister.yml
secrets: inherit
trigger-esp-idf:
name: Run ESP-IDF Unit Test
permissions:
contents: read
actions: write
uses: ./.github/workflows/test-esp-idf.yml
secrets: inherit
trigger-esp-idf-hil:
name: Run ESP-IDF HTTP Client HIL
permissions:
contents: read
actions: write
uses: ./.github/workflows/test-esp-idf-hil.yml
with:
hil_board: esp32s3_devkitc
idf_target: esp32s3
api_url: https://api.golioth.io
api_key_id: PROD_CI_PROJECT_API_KEY
secrets: inherit
trigger-nsim:
name: Run Native Simulator and BabbleSim Tests
permissions:
contents: read
actions: write
uses: ./.github/workflows/test-nsim.yml
with:
api_url: "https://api.golioth.io"
api_key_id: "PROD_CI_PROJECT_API_KEY"
coap_gateway_url: "coaps://coap.golioth.io"
secrets: inherit
trigger-test-summaries:
name: Publish JUnit Summaries
if: success() || failure()
needs:
- trigger-esp-idf
- trigger-esp-idf-hil
- trigger-twister
- trigger-nsim
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Gather summaries
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
path: summary
pattern: ci-summary-*
merge-multiple: true
- name: Publish Test Report
uses: phoenix-actions/test-reporting@7317eea6e13c47348dd0bb318669485157c518d6 # v16
if: success() || failure()
with:
name: Firmware Test Summary
path: summary/*.xml
reporter: java-junit
list-tests: failed
output-to: step-summary