From c2950bec73655dc83f5445bb9c2f89fbf7c09155 Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Fri, 14 Jun 2024 09:14:14 +0200 Subject: [PATCH] ci: bsim tests: Fix for missing result xml files Do not fail during results merge if twister or the bsim workflows did not run (or produce an xml). Depending on what has changed in a PR and therefore what tests are run this can happen. Signed-off-by: Alberto Escolar Piedras --- .github/workflows/bsim-tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bsim-tests.yaml b/.github/workflows/bsim-tests.yaml index 6149a51f599..271cc1dbfe7 100644 --- a/.github/workflows/bsim-tests.yaml +++ b/.github/workflows/bsim-tests.yaml @@ -163,7 +163,7 @@ jobs: - name: Merge Test Results run: | pip3 install junitparser junit2html - junitparser merge ./bsim_*/*bsim_results.*.xml ./twister-out/twister.xml junit.xml + junitparser merge --glob "./bsim_*/*bsim_results.*.xml" "./twister-out/twister.xml" junit.xml junit2html junit.xml junit.html - name: Upload Unit Test Results in HTML