Skip to content

Commit 041d21b

Browse files
committed
Add recursive search for coverage.xml file
Adding find command to recursively search for coverage.xml to determine where PHPUnit is actually generating it. Also showing current directory and workspace path for debugging.
1 parent 690e451 commit 041d21b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/code-coverage.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ jobs:
8484
echo "=== Debug: Looking for coverage files ==="
8585
ls -la coverage* 2>/dev/null || echo "No coverage files found in current directory"
8686
ls -la ${{ github.workspace }}/coverage* 2>/dev/null || echo "No coverage files in workspace"
87+
echo "=== Debug: Searching for coverage.xml recursively ==="
88+
find ${{ github.workspace }} -name "coverage.xml" 2>/dev/null || echo "No coverage.xml found anywhere"
89+
echo "=== Debug: Current directory ==="
90+
pwd
91+
echo "=== Debug: Workspace directory ==="
92+
echo "${{ github.workspace }}"
8793
8894
# Try both locations
8995
COVERAGE_FILE=""

0 commit comments

Comments
 (0)