Skip to content

Gateway OTA

Gateway OTA #782

Workflow file for this run

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