Update action.yml
This commit is contained in:
+6
-2
@@ -132,9 +132,11 @@ runs:
|
||||
cat ${{ inputs.report-dir }}/markdown/coverage-error.log
|
||||
}
|
||||
|
||||
git clone -q https://gitea.psi.ch/tligui_y/test-ci.git ./temp-test-ci
|
||||
|
||||
echo ""
|
||||
echo "📊 Generating tests markdown summary..."
|
||||
python ./test-ci/json_to_md.py \
|
||||
python ./temp-test-ci/json_to_md.py \
|
||||
--input "${{ inputs.report-dir }}/markdown/pytest-report.json" \
|
||||
--output "${{ inputs.report-dir }}/markdown/TEST-REPORT.md" \
|
||||
--log "${{ inputs.report-dir }}/markdown/raw-test-output.log" \
|
||||
@@ -149,7 +151,7 @@ runs:
|
||||
|
||||
echo ""
|
||||
echo "🌳 Generating JSON tree view..."
|
||||
python ./test-ci/json_to_tree.py \
|
||||
python ./temp-test-ci/json_to_tree.py \
|
||||
"${{ inputs.report-dir }}/markdown/pytest-report.json" \
|
||||
> "${{ inputs.report-dir }}/markdown/json-tree-gen.log" 2>&1 && {
|
||||
echo "✅ JSON tree view generated"
|
||||
@@ -158,6 +160,8 @@ runs:
|
||||
cat ${{ inputs.report-dir }}/markdown/json-tree-gen.log
|
||||
}
|
||||
|
||||
rm -rf ./temp-test-ci
|
||||
|
||||
echo "🧹 Cleaning up ${{ inputs.report-dir }}/markdown..."
|
||||
find ${{ inputs.report-dir }}/markdown -type f ! \( \
|
||||
-name 'coverage-summary.md' -o \
|
||||
|
||||
Reference in New Issue
Block a user