mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-16 21:16:56 +08:00
Improved usage of tree command.
This commit is contained in:
2
.github/workflows/NightlyRelease.yml
vendored
2
.github/workflows/NightlyRelease.yml
vendored
@@ -388,7 +388,7 @@ jobs:
|
|||||||
done <<<'${{ inputs.assets }}'
|
done <<<'${{ inputs.assets }}'
|
||||||
|
|
||||||
printf "%s\n" "Inspecting downloaded artifacts ..."
|
printf "%s\n" "Inspecting downloaded artifacts ..."
|
||||||
tree -L 3 .
|
tree -pash -L 3 .
|
||||||
|
|
||||||
if [[ $ERROR -ne 0 ]]; then
|
if [[ $ERROR -ne 0 ]]; then
|
||||||
printf "%s\n" "${ANSI_LIGHT_RED}Errors detected in previous steps.${ANSI_NOCOLOR}"
|
printf "%s\n" "${ANSI_LIGHT_RED}Errors detected in previous steps.${ANSI_NOCOLOR}"
|
||||||
|
|||||||
8
.github/workflows/PublishCoverageResults.yml
vendored
8
.github/workflows/PublishCoverageResults.yml
vendored
@@ -84,7 +84,7 @@ jobs:
|
|||||||
|
|
||||||
- name: 🔎 Inspect extracted artifact (tarball)
|
- name: 🔎 Inspect extracted artifact (tarball)
|
||||||
run: |
|
run: |
|
||||||
tree -psh artifacts
|
tree -pash artifacts
|
||||||
|
|
||||||
- name: 🔧 Install coverage and tomli
|
- name: 🔧 Install coverage and tomli
|
||||||
run: |
|
run: |
|
||||||
@@ -152,11 +152,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Rename .coverage files and collect them all to coverage/
|
- name: Rename .coverage files and collect them all to coverage/
|
||||||
run: |
|
run: |
|
||||||
ls -lAh artifacts/
|
|
||||||
ls -lAh artifacts/*/.coverage
|
|
||||||
mkdir -p coverage
|
mkdir -p coverage
|
||||||
find artifacts/ -type f -path "*SQLite*.coverage" -exec sh -c 'cp -v $0 "coverage/$(basename $0).$(basename $(dirname $0))"' {} ';'
|
find artifacts/ -type f -path "*SQLite*.coverage" -exec sh -c 'cp -v $0 "coverage/$(basename $0).$(basename $(dirname $0))"' {} ';'
|
||||||
tree -a coverage
|
tree -pash coverage
|
||||||
|
|
||||||
- name: Combine SQLite files (using Coverage.py)
|
- name: Combine SQLite files (using Coverage.py)
|
||||||
run: coverage combine --data-file=.coverage coverage/
|
run: coverage combine --data-file=.coverage coverage/
|
||||||
@@ -177,7 +175,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
coverage html --data-file=.coverage -d report/coverage/html
|
coverage html --data-file=.coverage -d report/coverage/html
|
||||||
rm report/coverage/html/.gitignore
|
rm report/coverage/html/.gitignore
|
||||||
tree -a report/coverage/html
|
tree -pash report/coverage/html
|
||||||
|
|
||||||
- name: 📤 Upload 'Coverage SQLite Database' artifact
|
- name: 📤 Upload 'Coverage SQLite Database' artifact
|
||||||
if: inputs.coverage_sqlite_artifact != ''
|
if: inputs.coverage_sqlite_artifact != ''
|
||||||
|
|||||||
5
.github/workflows/PublishTestResults.yml
vendored
5
.github/workflows/PublishTestResults.yml
vendored
@@ -73,7 +73,7 @@ jobs:
|
|||||||
|
|
||||||
- name: 🔎 Inspect extracted artifact (tarball)
|
- name: 🔎 Inspect extracted artifact (tarball)
|
||||||
run: |
|
run: |
|
||||||
tree -psh artifacts
|
tree -pash artifacts
|
||||||
|
|
||||||
- name: 🔧 Install pyEDAA.Reports (JUunit Parser and Merger)
|
- name: 🔧 Install pyEDAA.Reports (JUunit Parser and Merger)
|
||||||
run: |
|
run: |
|
||||||
@@ -82,9 +82,8 @@ jobs:
|
|||||||
- 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
|
||||||
ls -lAh artifacts/*/*.xml
|
|
||||||
find artifacts/ -type f -path "*TestReportSummary*.xml" -exec sh -c 'cp -v $0 "junit/$(basename $(dirname $0)).$(basename $0)"' {} ';'
|
find artifacts/ -type f -path "*TestReportSummary*.xml" -exec sh -c 'cp -v $0 "junit/$(basename $(dirname $0)).$(basename $0)"' {} ';'
|
||||||
tree -a junit
|
tree -pash junit
|
||||||
|
|
||||||
- name: 🔁 Merge JUnit Unit Test Summaries
|
- name: 🔁 Merge JUnit Unit Test Summaries
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user