File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -124,8 +124,8 @@ jobs:
124
124
ARGS="--build-dir=build/ ${{ steps.setup-godot.outputs.EXTRA_RUN_TESTS_ARGS }} -- --headless"
125
125
python tests/run.py 0-gdscript $ARGS
126
126
python tests/run.py 1-gdextension $ARGS
127
+ python tests/run.py 2-pythonscript-init $ARGS
127
128
# TODO
128
- # python tests/run.py 2-pythonscript-init $ARGS
129
129
# python tests/run.py 3-pythonscript-cython-only $ARGS
130
130
131
131
# - name: 'Generate artifact archive'
@@ -222,8 +222,8 @@ jobs:
222
222
ARGS="--build-dir=build/ ${{ steps.setup-godot.outputs.EXTRA_RUN_TESTS_ARGS }} -- --headless"
223
223
python tests/run.py 0-gdscript $ARGS
224
224
python tests/run.py 1-gdextension $ARGS
225
+ python tests/run.py 2-pythonscript-init $ARGS
225
226
# TODO
226
- # python tests/run.py 2-pythonscript-init $ARGS
227
227
# python tests/run.py 3-pythonscript-cython-only $ARGS
228
228
229
229
# - name: 'Install Mesa3D OpenGL'
Original file line number Diff line number Diff line change @@ -195,6 +195,11 @@ cdef api void _pythonscript_early_init() with gil:
195
195
196
196
cdef api void _pythonscript_initialize(int p_level) with gil:
197
197
if p_level == GDEXTENSION_INITIALIZATION_SERVERS:
198
+ import sys
199
+ from godot._version import __version__ as pythonscript_version
200
+
201
+ cooked_sys_version = ' .' .join(map (str , sys.version_info))
202
+ print (f" Pythonscript {pythonscript_version} (CPython {cooked_sys_version})" , flush= True )
198
203
pass
199
204
200
205
# Language registration must be done at `GDEXTENSION_INITIALIZATION_SERVERS`
You can’t perform that action at this time.
0 commit comments