@@ -13,13 +13,14 @@ jobs:
13
13
strategy :
14
14
fail-fast : false
15
15
matrix :
16
- python-version : ['2.7', '3.5', '3.6', ' 3.7', '3.8', '3.9', '3.10']
17
- tarantool-version : [2.6, 2.7 ]
16
+ python-version : ['3.7', '3.8', '3.9', '3.10']
17
+ tarantool-version : ['2.8', '2.10' ]
18
18
19
19
steps :
20
20
- uses : actions/checkout@v3
21
- - name : update git submodules
22
- run : git submodule update --init --recursive
21
+ with :
22
+ fetch-depth : 1
23
+ submodules : recursive
23
24
- name : set up Tarantool ${{ matrix.tarantool-version }}
24
25
uses : tarantool/setup-tarantool@v2
25
26
with :
35
36
sudo apt update -y
36
37
sudo apt-get -y install lua5.1 luarocks
37
38
sudo luarocks install luacheck
38
- - name : set default pip to pip3
39
- run : |
40
- sudo rm -f /usr/local/bin/pip
41
- sudo ln -s /usr/bin/pip3 /usr/local/bin/pip
42
- - name : set default python and pip to v2.7
43
- if : ${{ matrix.python-version }} == 2.7
44
- run : |
45
- curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
46
- sudo python2 get-pip.py
47
- sudo rm -f /usr/bin/python
48
- sudo ln -s /usr/bin/python2 /usr/bin/python
49
- sudo rm -f /usr/local/bin/pip
50
- sudo ln -s /usr/local/bin/pip2 /usr/local/bin/pip
51
39
- name : setup python dependencies
52
40
run : |
53
41
pip install -r requirements.txt
@@ -64,12 +52,12 @@ jobs:
64
52
run : |
65
53
make test_integration
66
54
- name : code coverage
67
- if : ${{ matrix.python-version == '3.8' && matrix.tarantool-version == '2.7 ' }}
55
+ if : ${{ matrix.python-version == '3.8' && matrix.tarantool-version == '2.10 ' }}
68
56
run : |
69
57
pip install coveralls==3.*
70
58
make coverage
71
59
- name : upload coverage data to coveralls.io
72
- if : ${{ matrix.python-version == '3.8' && matrix.tarantool-version == '2.7 ' }}
60
+ if : ${{ matrix.python-version == '3.8' && matrix.tarantool-version == '2.10 ' }}
73
61
run : coveralls --service=github
74
62
env :
75
63
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments