From 1cdebb91ab43847694cff4480fd2fdad92aa8cbb Mon Sep 17 00:00:00 2001 From: Raul Sanchez-Mateos Date: Mon, 16 Dec 2024 11:13:23 +0100 Subject: [PATCH] Split test using name filter regex Signed-off-by: Raul Sanchez-Mateos --- .github/workflows/nightly-windows-master.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly-windows-master.yml b/.github/workflows/nightly-windows-master.yml index 75f3e0fd9d3..2fc79d18d2c 100644 --- a/.github/workflows/nightly-windows-master.yml +++ b/.github/workflows/nightly-windows-master.yml @@ -16,10 +16,16 @@ jobs: cmake_build_type: - 'Debug' - 'RelWithDebInfo' + test_filter: + - '-R "BlackboxTests|example_tests"' + - '-E "BlackboxTests|example_tests"' uses: eProsima/Fast-DDS/.github/workflows/reusable-windows-ci.yml@master with: - label: 'nightly-sec-${{ matrix.security }}-windows-ci-master' + label: > + nightly-sec-${{ matrix.security }}-${{ matrix.cmake_build_type }}-${ + { matrix.test_filter == '-R "BlackboxTests|example_tests"' && 'blackbox' || + matrix.test_filter == '-E "BlackboxTests|example_tests"' && 'unittest' }}-windows-ci-master cmake-config: ${{ matrix.cmake_build_type }} cmake-args: "-DSECURITY=${{ matrix.security }}" - ctest-args: "-LE xfail" + ctest-args: "-LE xfail ${{ matrix.test_filter }}" fastdds_branch: 'master'