File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 33
33
print (file )
34
34
minimum_version_str = get_example_required_minimum_dpf_version (file )
35
35
if float (server_version ) - float (minimum_version_str ) < - 0.05 :
36
- print (f"Example skipped as it requires DPF { minimum_version_str } ." )
36
+ print (f"Example skipped as it requires DPF { minimum_version_str } ." , flush = True )
37
37
continue
38
38
try :
39
39
out = subprocess .check_output ([sys .executable , file ])
40
40
except subprocess .CalledProcessError as e :
41
41
sys .stderr .write (str (e .args ))
42
42
if e .returncode != 3221225477 :
43
- print (out )
43
+ print (out , flush = True )
44
44
raise e
45
- print ("PASS" )
45
+ print ("PASS" , flush = True )
Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ jobs:
132
132
shell : bash
133
133
working-directory : .ci
134
134
run : |
135
- echo on
136
135
python run_examples.py
137
136
138
137
- name : " Kill all servers"
Original file line number Diff line number Diff line change 104
104
# license increment is used, and for what maximum duration.
105
105
106
106
# Use the LicenseContextManager to block a specific increment for a limited duration
107
- with dpf .LicenseContextManager (increment_name = "preppost" , license_timeout_in_seconds = 1 .0 ) as lic :
107
+ with dpf .LicenseContextManager (increment_name = "preppost" , license_timeout_in_seconds = 5 .0 ) as lic :
108
108
# Instantiate the licensed operator
109
109
out = op_premium .eval ()
110
110
print (out )
You can’t perform that action at this time.
0 commit comments