diff --git a/.gitea/workflows/test-python.yml b/.gitea/workflows/test-python.yml new file mode 100644 index 000000000..604d722f6 --- /dev/null +++ b/.gitea/workflows/test-python.yml @@ -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"