Skip to content

Commit e33e314

Browse files
committed
Add debug output to container action to diagnose test output issue
Added debug logging to show: - Container working directory and environment - Python and tox versions available - Workspace file listing - Command execution and exit codes This will help identify why Linux Docker tests run quickly but produce no output.
1 parent 0ab2870 commit e33e314

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/actions/run-in-container/action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,16 @@ runs:
115115
fi
116116
117117
cat <<"EOF" >"$RUNNER_TEMP/run.sh"
118+
echo "=== Container Debug Info ==="
119+
echo "Working directory: $(pwd)"
120+
echo "Python version: $(python --version 2>&1 || echo 'python not found')"
121+
echo "Python2.7 version: $(python2.7 --version 2>&1 || echo 'python2.7 not found')"
122+
echo "Tox version: $(tox --version 2>&1 || echo 'tox not found')"
123+
echo "Files in workspace:"
124+
ls -la
125+
echo "=== Running command: ${INPUT_RUN} ==="
118126
${INPUT_RUN}
127+
echo "=== Command exit code: $? ==="
119128
EOF
120129
121130
set -x

0 commit comments

Comments
 (0)