Files
xiaoxia-saas/.gitea/workflows/test-python.yml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: line 17: could not find expected ':'
2026-07-11 17:50:03 +08:00

22 lines
405 B
YAML

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"