test: 验证Python here-string的YAML问题

This commit is contained in:
CI Bot
2026-07-11 17:50:03 +08:00
parent 79abb74874
commit 4e614238e5
+21
View File
@@ -0,0 +1,21 @@
name: Test Python Here-string
on:
workflow_dispatch:
jobs:
test:
name: Test Python
runs-on: host
steps:
- name: Check Python here-string
shell: sh
run: |
set -eu
echo "Testing python3 -c with unindented code..."
python3 -c "
import sys
print('Python here-string works!')
print(f'Python version: {sys.version}')
"
echo "Done"