File tree 1 file changed +15
-3
lines changed 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -173,11 +173,23 @@ jobs:
173
173
with :
174
174
distribution : Ubuntu-20.04
175
175
176
- - name : Setup test Tarantool
176
+ - name : Install Tarantool ${{ matrix.tarantool }}
177
+ if : matrix.tarantool != '2.x-latest'
178
+ shell : wsl-bash_Ubuntu-20.04 {0}
179
+ run : |
180
+ curl -L https://tarantool.io/installer.sh | VER=${{ matrix.tarantool }} sudo bash
181
+ sudo apt install -y tarantool tarantool-dev
182
+
183
+ - name : Install latest Tarantool 2.x
184
+ if : matrix.tarantool == '2.x-latest'
177
185
shell : wsl-bash_Ubuntu-20.04 {0}
178
186
run : |
179
187
curl -L https://tarantool.io/pre-release/2/installer.sh | sudo bash
180
188
sudo apt install -y tarantool tarantool-dev
189
+
190
+ - name : Setup test Tarantool
191
+ shell : wsl-bash_Ubuntu-20.04 {0}
192
+ run : |
181
193
TNT_PID=$(tarantool ./test/suites/lib/tarantool_python_ci.lua > tarantool.log 2>&1 & echo $!)
182
194
rm -f ./tnt_pid
183
195
touch tnt_pid
@@ -190,6 +202,6 @@ jobs:
190
202
run : make test
191
203
192
204
- name : Stop test Tarantool
193
- if : ${{ always() }} && process.env.TNT_PID != ''
205
+ if : ${{ always() }}
194
206
shell : wsl-bash_Ubuntu-20.04 {0}
195
- run : kill $(cat tnt_pid)
207
+ run : kill $(cat tnt_pid) || true
You can’t perform that action at this time.
0 commit comments