diff --git a/action.yml b/action.yml index bd9b2b2..4fadfb8 100644 --- a/action.yml +++ b/action.yml @@ -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"