Update action.yml

This commit is contained in:
2025-07-22 15:17:20 +02:00
parent bcdc3cdd46
commit c8bda5a91f
+9
View File
@@ -159,6 +159,9 @@ runs:
rm -rf ./temp-test-ci
echo "DEBUG: Liste des fichiers dans ${{ inputs.report-dir }}/markdown/"
ls -lh ${{ inputs.report-dir }}/markdown/
echo "🧹 Cleaning up ${{ inputs.report-dir }}/markdown..."
find "${{ inputs.report-dir }}/markdown" -type f \
! -name 'coverage-summary.md' \
@@ -169,6 +172,8 @@ runs:
! -name 'raw-test-output.log' \
-delete
echo "DEBUG: Liste des fichiers dans ${{ inputs.report-dir }}/markdown/"
ls -lh ${{ inputs.report-dir }}/markdown/
@@ -178,6 +183,10 @@ runs:
echo "📤 Committing test reports..."
git config user.name "ci-bot"
git config user.email "ci-bot@example.com"
echo "DEBUG: Liste des fichiers dans ${{ inputs.report-dir }}/markdown/"
ls -lh ${{ inputs.report-dir }}/markdown/
git add ${{ inputs.report-dir }}/
git commit -m "CI: update test report and coverage files" || echo "⚠️ Nothing to commit"