Update action.yml

This commit is contained in:
2025-07-22 13:06:00 +02:00
parent 1f33855c49
commit e914397cb1
+6 -2
View File
@@ -1,6 +1,10 @@
name: Pytest CI Workflow
description: Run pytest with coverage and report upload to Gitea
inputs:
absolute_workspace_path:
description: "Path from main repo"
required: true
ci-branch:
description: 'Target branch where test reports will be committed'
required: true
@@ -130,7 +134,7 @@ runs:
echo ""
echo "📊 Generating tests markdown summary..."
python "${{ github.action_path }}/json_to_md.py" \
python "${{ github.workspace }}/../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 \
@@ -145,7 +149,7 @@ runs:
echo ""
echo "🌳 Generating JSON tree view..."
python "${{ github.action_path }}/json_to_tree.py" ${{ inputs.report-dir }}/markdown/pytest-report.json > ${{ inputs.report-dir }}/markdown/json-tree-gen.log 2>&1 && {
python "${{ github.workspace }}/../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"
} || {
echo "❌ JSON tree generation failed"