Commit d4951a1b authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Anas Nashif
Browse files

ci: workflows: fix glob pattern syntax for junitparser

Use two glob patterns for dealing with artifacts that might
be sitting at two different levels depending on whether we
downloaded single or multiple artifacts in "Download Artifacts"
step.

Signed-off-by: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent 67f24647
Loading
Loading
Loading
Loading
+1 −1
Changes for .github/workflows/clang.yaml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@ jobs:

      - name: Merge Test Results
        run: |
          junitparser merge --glob artifacts/**/twister.xml junit.xml
          junitparser merge --glob 'artifacts/*/twister.xml' --glob 'artifacts/*/*/twister.xml' junit.xml
          junit2html junit.xml junit-clang.html

      - name: Upload Unit Test Results in HTML
+1 −1
Changes for .github/workflows/twister.yaml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -347,7 +347,7 @@ jobs:

      - name: Merge Test Results
        run: |
          junitparser merge --glob artifacts/**/twister.xml junit.xml
          junitparser merge --glob 'artifacts/*/twister.xml' --glob 'artifacts/*/*/twister.xml' junit.xml
          junit2html junit.xml junit.html

      - name: Upload Unit Test Results