@@ -230,12 +230,12 @@ jobs:
230230 path : ${{ env.DLS_REL_PATH }}/test_hello_dlstreamer
231231
232232 - name : Init on host tests configurations
233- if : always ()
233+ if : ${{ always() && matrix.ubuntu_version == 'ubuntu24' }}
234234 run : |
235235 echo "HOST_TEST_CONFIGS=samples_config.json" >> $GITHUB_ENV
236236 echo "Selected test configuration file: $HOST_TEST_CONFIGS" >> $GITHUB_STEP_SUMMARY
237237 - name : Init host test environemtnt
238- if : always ()
238+ if : ${{ always() && matrix.ubuntu_version == 'ubuntu24' }}
239239 run : |
240240 sudo apt install -y libcairo2-dev libgirepository1.0-dev
241241 if [[ ${{ matrix.ubuntu_version }} == "ubuntu24" ]]; then
@@ -250,7 +250,7 @@ jobs:
250250 $HOME/.virtualenvs/dlstreamer/bin/pip install --no-cache-dir --upgrade pip -r $DLS_REL_PATH/requirements.txt
251251
252252 - name : 🚀 Run on host tests
253- if : always ()
253+ if : ${{ always() && matrix.ubuntu_version == 'ubuntu24' }}
254254 id : run_onhost_tests
255255 env :
256256 HOST_TEST_CONFIGS : ${{ env.HOST_TEST_CONFIGS }}
@@ -273,12 +273,12 @@ jobs:
273273 deactivate
274274 - name : Upload host test results
275275 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2
276- if : always ()
276+ if : ${{ always() && matrix.ubuntu_version == 'ubuntu24' }}
277277 with :
278278 name : DLS_functional_tests_${{ matrix.runner_print_label }}_on_host_${{ matrix.ubuntu_version }}_results
279279 path : " ${{ env.DLS_TESTS_RESULTS_PATH }}"
280280 - name : Check and display host test results
281- if : always ()
281+ if : ${{ always() && matrix.ubuntu_version == 'ubuntu24' }}
282282 env :
283283 dls_tests_results_path : ${{ env.DLS_TESTS_RESULTS_PATH }}
284284 test_repo_branch : ${{ inputs.test-repo-branch }}
0 commit comments