Skip to content

Commit 8d371a9

Browse files
committed
Debug
1 parent 0577375 commit 8d371a9

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/debug-sundry.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,18 @@ jobs:
4242
${{ matrix.python }} /usr/local/lib/python${{ matrix.python == 'python3.10' && '3.10' || '3.11' }}/test/test_sundry.py || echo "FAILED: original test_sundry.py"
4343
4444
echo "=== Running regression test ==="
45-
tox -r -e $(echo "${{ matrix.python }}" | tr -d .) -- xtest
45+
tox -r -e $(echo "${{ matrix.python }}" | tr -d .) -- xtest
46+
47+
- name: Debug distutils availability
48+
uses: ./.github/actions/run-in-container
49+
with:
50+
image: danielflook/python-minifier-build:${{ matrix.python }}-2024-09-15
51+
run: |
52+
echo "=== Testing distutils.bcppcompiler import ==="
53+
${{ matrix.python }} -c "import distutils.bcppcompiler; print('SUCCESS: distutils.bcppcompiler imported')" || echo "FAILED to import distutils.bcppcompiler"
54+
55+
echo "=== Testing original test_sundry.py ==="
56+
${{ matrix.python }} /usr/local/lib/python${{ matrix.python == 'python3.10' && '3.10' || '3.11' }}/test/test_sundry.py || echo "FAILED: original test_sundry.py"
57+
58+
echo "=== Running regression test ==="
59+
tox -r -e $(echo "${{ matrix.python }}" | tr -d .) -- xtest

0 commit comments

Comments
 (0)