From f1c9f753a7502c7966b34d81c587e24718802a81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Ga=C5=82at?= Date: Tue, 16 Jul 2024 12:30:08 +0000 Subject: [PATCH] GHA: check cli tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit run cli tests on GHA Signed-off-by: Robert Gałat --- .github/workflows/run_tests.yml | 11 +++++++++++ .github/workflows/run_tests_cli.yml | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index de8a349d3f..81f6c3ca4e 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -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 }} diff --git a/.github/workflows/run_tests_cli.yml b/.github/workflows/run_tests_cli.yml index ba3ead6415..8139d541bd 100644 --- a/.github/workflows/run_tests_cli.yml +++ b/.github/workflows/run_tests_cli.yml @@ -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