Skip to content

Commit 1b8d44a

Browse files
ci: install Tarantool 2.10 with GitHub Actions
After update [1] and Tarantool 2.10 release it is possible to install it with setup-tarantool tools. This patch uses setup-tarantool to install release Tarantool 2.10 instead of pre-release one. 1. tarantool/setup-tarantool@6c88e71
1 parent 5165bed commit 1b8d44a

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/testing.yml

+11-9
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
tarantool:
2626
- '1.10'
2727
- '2.8'
28-
- '2.x-latest'
28+
- '2.10'
2929
python:
3030
- '3.6'
3131
- '3.7'
@@ -59,17 +59,10 @@ jobs:
5959
uses: actions/checkout@v2
6060

6161
- name: Install tarantool ${{ matrix.tarantool }}
62-
if: matrix.tarantool != '2.x-latest'
6362
uses: tarantool/setup-tarantool@v1
6463
with:
6564
tarantool-version: ${{ matrix.tarantool }}
6665

67-
- name: Install latest tarantool 2.x
68-
if: matrix.tarantool == '2.x-latest'
69-
run: |
70-
curl -L https://tarantool.io/pre-release/2/installer.sh | sudo bash
71-
sudo apt install -y tarantool tarantool-dev
72-
7366
- name: Setup Python for tests
7467
uses: actions/setup-python@v2
7568
with:
@@ -173,6 +166,7 @@ jobs:
173166
tarantool:
174167
- '1.10'
175168
- '2.8'
169+
- '2.10.0.g0a5ce0b9c-1'
176170
python:
177171
- '3.10'
178172

@@ -196,12 +190,20 @@ jobs:
196190
with:
197191
distribution: Ubuntu-20.04
198192

199-
- name: Install tarantool ${{ matrix.tarantool }} for WSL
193+
- name: Install tarantool ${{ matrix.tarantool }} for WSL (2.8 and older)
194+
if: (matrix.tarantool == '1.10') || (matrix.tarantool == '2.8')
200195
shell: wsl-bash_Ubuntu-20.04 {0}
201196
run: |
202197
curl -L https://tarantool.io/installer.sh | VER=${{ matrix.tarantool }} bash -s -- --type "release"
203198
sudo apt install -y tarantool tarantool-dev
204199
200+
- name: Install tarantool ${{ matrix.tarantool }} for WSL (2.10 and newer)
201+
if: (matrix.tarantool != '1.10') && (matrix.tarantool != '2.8')
202+
shell: wsl-bash_Ubuntu-20.04 {0}
203+
run: |
204+
curl -L https://tarantool.io/release/2/installer.sh | bash -s
205+
sudo apt install -y tarantool=${{ matrix.tarantool }} tarantool-dev=${{ matrix.tarantool }}
206+
205207
- name: Setup test tarantool instance
206208
shell: wsl-bash_Ubuntu-20.04 {0}
207209
run: |

0 commit comments

Comments
 (0)