Skip to content

Commit 5ec2dde

Browse files
ci: install Tarantool 2.10 with GitHub Actions
After update [1] it is possible to install Tarantool 2.10 and nightly releases with setup-tarantool tools. This patch uses it to install release Tarantool 2.10 and nightly Tarantool 2.x. 1. tarantool/setup-tarantool@6c88e71
1 parent 0e187c8 commit 5ec2dde

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/testing.yml

+9-8
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'
@@ -35,6 +35,8 @@ jobs:
3535
msgpack-deps:
3636
# latest msgpack will be installed as a part of requirements.txt
3737
- ''
38+
tarantool-nightly:
39+
- false
3840

3941
# Adding too many elements to three-dimentional matrix results in
4042
# too many test cases. It causes GitHub webpages to fail with
@@ -53,22 +55,20 @@ jobs:
5355
- tarantool: '2.8'
5456
python: '3.10'
5557
msgpack-deps: 'msgpack==1.0.4'
58+
- tarantool: '2'
59+
python: '3.10'
60+
msgpack-deps: ''
61+
tarantool-nightly: true
5662

5763
steps:
5864
- name: Clone the connector
5965
uses: actions/checkout@v2
6066

6167
- name: Install tarantool ${{ matrix.tarantool }}
62-
if: matrix.tarantool != '2.x-latest'
6368
uses: tarantool/setup-tarantool@v1
6469
with:
6570
tarantool-version: ${{ matrix.tarantool }}
66-
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
71+
tarantool-nightly: ${{ matrix.tarantool-nightly }}
7272

7373
- name: Setup Python for tests
7474
uses: actions/setup-python@v2
@@ -196,6 +196,7 @@ jobs:
196196
tarantool:
197197
- '1.10'
198198
- '2.8'
199+
- '2.10'
199200
python:
200201
- '3.10'
201202

0 commit comments

Comments
 (0)