-
Notifications
You must be signed in to change notification settings - Fork 15
74 lines (68 loc) · 1.96 KB
/
test-recurring.yml
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
name: "Test: Recurring"
on:
schedule:
# Run workflow every 4 hours
- cron: "00 */4 * * *"
jobs:
hil_test_zephyr_nsim:
strategy:
fail-fast: false
matrix:
platform:
- native_sim_32
- native_sim_64
include:
- platform: native_sim_32
west_board: native_sim
- platform: native_sim_64
west_board: native_sim/native/64
uses: ./.github/workflows/hil-integration-nsim.yml
with:
api-url: "https://api.golioth.io"
api-key-id: "PROD_CI_PROJECT_API_KEY"
coap_gateway_url: "coaps://coap.golioth.io"
platform: ${{ matrix.platform }}
west_board: ${{ matrix.west_board }}
secrets: inherit
hil_test_linux:
uses: ./.github/workflows/hil-integration-linux.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
hil_sample_zephyr_nsim:
name: zephyr-${{ matrix.platform }}-twister
strategy:
fail-fast: false
matrix:
include:
- west_board: native_sim
platform: native_sim_32
- west_board: native_sim/native/64
platform: native_sim_64
uses: ./.github/workflows/hil-sample-nsim.yml
with:
api-url: "https://api.golioth.io"
api-key-id: "PROD_CI_PROJECT_API_KEY"
coap_gateway_url: "coaps://coap.golioth.io"
platform: ${{ matrix.platform }}
west_board: ${{ matrix.west_board }}
secrets: inherit
process_allure_reports:
needs:
- hil_sample_zephyr_nsim
- hil_test_linux
- hil_test_zephyr_nsim
if: ${{ !cancelled() }}
uses: ./.github/workflows/report-allure-publish.yml
secrets: inherit
with:
allure_branch: recurring
publish_summary:
needs:
- hil_sample_zephyr_nsim
- hil_test_linux
- hil_test_zephyr_nsim
if: always()
uses: ./.github/workflows/report-summary-publish.yml