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: with:
path: artifacts path: artifacts
- name: 🔧 Install junitparser - name: 🔧 Install pyEDAA.Reports (JUunit Parser and Merger)
run: | run: |
python -m pip install --disable-pip-version-check --break-system-packages -U pyEDAA.Reports python -m pip install --disable-pip-version-check --break-system-packages -U pyEDAA.Reports
- name: Move JUnit files and collect them all to junit/ - name: Move JUnit files and collect them all to junit/
run: | run: |
mkdir -p junit 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 tree -a junit
- name: 🔁 Merge JUnit Unit Test Summaries - name: 🔁 Merge JUnit Unit Test Summaries

View File

@@ -16,5 +16,5 @@ sphinxcontrib-mermaid>=0.9.2
autoapi >= 2.0.1 autoapi >= 2.0.1
sphinx_fontawesome >= 0.0.6 sphinx_fontawesome >= 0.0.6
sphinx-inline-tabs >= 2023.4.21 sphinx-inline-tabs >= 2023.4.21
sphinx_autodoc_typehints ~= 2.1 sphinx_autodoc_typehints ~= 2.3
# changelog>=0.3.5 # changelog>=0.3.5

View File

@@ -1,6 +1,6 @@
[build-system] [build-system]
requires = [ requires = [
"setuptools ~= 72.1", "setuptools ~= 74.1",
"wheel ~= 0.44", "wheel ~= 0.44",
"pyTooling ~= 6.5" "pyTooling ~= 6.5"
] ]

View File

@@ -10,4 +10,4 @@ pytest-cov ~= 5.0
# Static Type Checking # Static Type Checking
mypy ~= 1.11 mypy ~= 1.11
typing_extensions ~= 4.12 typing_extensions ~= 4.12
lxml ~= 5.2 lxml ~= 5.3