Skip to content

Commit

Permalink
GHA: check cli tests
Browse files Browse the repository at this point in the history
run cli tests on GHA

Signed-off-by: Robert Gałat <[email protected]>
  • Loading branch information
RobertGalatNordic committed Jul 16, 2024
1 parent 04288c8 commit f1c9f75
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,14 @@ jobs:
delete-merged: true
name: tests-dut_artifacts
pattern: DUT_artifacts_*

run_cli_tests:
needs: [build-and-test_on_hw]
strategy:
fail-fast: false
matrix:
board: ${{ fromJson(inputs.boards_to_test) }}
uses: ./.github/workflows/run_tests_cli.yml
with:
target_board: ${{ matrix.board }}
nrf_revision: ${{ inputs.nrf_revision }}
4 changes: 2 additions & 2 deletions .github/workflows/run_tests_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ on:

jobs:
run_dut_ut:
name: "Run DUT tests (${{inputs.target_board}} - ${{ inputs.subset }})"
runs-on: [self-hosted, linux, x64, "${{inputs.target_board}}"]
name: "Run CLI tests (${{inputs.target_board}})"
runs-on: [self-hosted, linux, x64, "${{inputs.target_board}}, echo"]
container:
image: ghcr.io/nrfconnect/sdk-sidewalk:main
options: --cpus 2 --privileged
Expand Down

0 comments on commit f1c9f75

Please sign in to comment.