From c046ae9f4e547f4ad3ae1213138e8d95af6a42c1 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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly-windows-master.yml b/.github/workflows/nightly-windows-master.yml index 75f3e0fd9d3..02d21b8ebea 100644 --- a/.github/workflows/nightly-windows-master.yml +++ b/.github/workflows/nightly-windows-master.yml @@ -16,10 +16,13 @@ jobs: cmake_build_type: - 'Debug' - 'RelWithDebInfo' + test_filter: + - 'blackbox' + - 'unittest' 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 }}-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 == 'blackbox' && '-R "BlackboxTests|example_tests"' || matrix.test_filter == 'unittest' && '-E "BlackboxTests|example_tests"' }} fastdds_branch: 'master'