File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,10 @@ jobs:
144
144
python : ' 3.10'
145
145
msgpack-deps : ' msgpack==1.0.0'
146
146
147
+ env :
148
+ TEST_TARANTOOL_PID_FILE : tarantool.pid
149
+ TEST_TARANTOOL_LOG_FILE : tarantool.log
150
+
147
151
steps :
148
152
- name : Clone the connector
149
153
uses : actions/checkout@v2
@@ -191,10 +195,10 @@ jobs:
191
195
- name : Setup test tarantool instance
192
196
shell : wsl-bash_Ubuntu-20.04 {0}
193
197
run : |
194
- rm -f ./tarantool.pid ./tarantool.log
195
- TNT_PID=$(tarantool ./test/suites/lib/tarantool_python_ci.lua > tarantool.log 2>&1 & echo $!)
196
- touch tarantool.pid
197
- echo $TNT_PID > ./tarantool.pid
198
+ rm -f $TEST_TARANTOOL_PID_FILE $TEST_TARANTOOL_LOG_FILE
199
+ TNT_PID=$(tarantool ./test/suites/lib/tarantool_python_ci.lua > $TEST_TARANTOOL_LOG_FILE 2>&1 & echo $!)
200
+ touch $TEST_TARANTOOL_PID_FILE
201
+ echo $TNT_PID > $TEST_TARANTOOL_PID_FILE
198
202
199
203
- name : Run tests
200
204
env :
@@ -206,5 +210,5 @@ jobs:
206
210
if : ${{ always() }}
207
211
shell : wsl-bash_Ubuntu-20.04 {0}
208
212
run : |
209
- cat tarantool.log || true
210
- kill $(cat tarantool.pid ) || true
213
+ cat $TEST_TARANTOOL_LOG_FILE || true
214
+ kill $(cat $TEST_TARANTOOL_PID_FILE ) || true
You can’t perform that action at this time.
0 commit comments