Skip to content

Commit 91506a9

Browse files
committed
ci: Add test with TMT provision step to debug workflow
Testing if provision step triggers DEBUG output differently than discover. Assisted-by: Claude Code (Sonnet 4.5)
1 parent 5d18942 commit 91506a9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/scripts/debug-tmt.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ summary: Minimal test
1616
test: echo "hello world"
1717
FMFEOF
1818

19-
echo "=== Test 1: Default tmt run (with set -x from this script) ==="
19+
echo "=== Test 1: TMT run discover only (no provision) ==="
2020
tmt run discover --how fmf 2>&1 | head -50 || true
2121

22+
echo ""
23+
echo "=== Test 1b: TMT run with provision (minimal, local) ==="
24+
tmt run -v provision --how local 2>&1 | head -100 || true
25+
2226
echo ""
2327
echo "=== Test 2: Check if TMT detects it's in CI and enables debug ==="
2428
python3 <<'EOF'

0 commit comments

Comments
 (0)