Check downloaded artifacts for XML files.

This commit is contained in:
Patrick Lehmann
2024-09-09 23:38:24 +02:00
parent 5d67896606
commit 0e9d878f0e
4 changed files with 6 additions and 5 deletions

View File

@@ -51,14 +51,15 @@ jobs:
with:
path: artifacts
- name: 🔧 Install junitparser
- name: 🔧 Install pyEDAA.Reports (JUunit Parser and Merger)
run: |
python -m pip install --disable-pip-version-check --break-system-packages -U pyEDAA.Reports
- name: Move JUnit files and collect them all to junit/
run: |
mkdir -p junit
find . -type f -path "*artifacts*TestReportSummary-XML*.xml" -exec sh -c 'cp -v $0 "junit/$(basename $(dirname $0)).$(basename $0)"' {} ';'
ls -lAh artifacts/*/*.xml
find artifacts/ -type f -path "*TestReportSummary*.xml" -exec sh -c 'cp -v $0 "junit/$(basename $(dirname $0)).$(basename $0)"' {} ';'
tree -a junit
- name: 🔁 Merge JUnit Unit Test Summaries