File tree 4 files changed +23
-8
lines changed
4 files changed +23
-8
lines changed Original file line number Diff line number Diff line change 19
19
with :
20
20
tarantool-version : ' 2.8'
21
21
22
+ - name : Setup tt
23
+ run : |
24
+ curl -L https://tarantool.io/release/2/installer.sh | sudo bash
25
+ sudo apt install -y tt
26
+ tt version
27
+
22
28
- name : Setup luacheck
23
- run : tarantoolctl rocks install luacheck 0.25.0
29
+ run : tt rocks install luacheck 0.25.0
24
30
25
31
- name : Run luacheck
26
32
run : ./.rocks/bin/luacheck .
Original file line number Diff line number Diff line change 38
38
with :
39
39
go-version : 1.13
40
40
41
+ - name : Setup tt
42
+ run : |
43
+ curl -L https://tarantool.io/release/2/installer.sh | sudo bash
44
+ sudo apt install -y tt
45
+ tt version
46
+
41
47
- name : Install test dependencies
42
48
run : make deps
43
49
Original file line number Diff line number Diff line change @@ -358,9 +358,15 @@ jobs:
358
358
run : echo "MallocNanoZone=0" >> $GITHUB_ENV
359
359
if : matrix.runs-on == 'macos-12'
360
360
361
+ # Workaround issue https://github.com/tarantool/tt/issues/640
362
+ - name : Fix tt rocks
363
+ if : matrix.tarantool == 'brew'
364
+ run : |
365
+ brew ls --verbose tarantool | grep macosx.lua | xargs rm -f
366
+
361
367
- name : Install test dependencies
362
368
run : |
363
- brew install luarocks
369
+ brew install tt
364
370
cd "${SRCDIR}"
365
371
make deps
366
372
Original file line number Diff line number Diff line change @@ -14,10 +14,6 @@ BENCH_OPTIONS := -bench=. -run=^Benchmark -benchmem -benchtime=${DURATION} -coun
14
14
GO_TARANTOOL_URL := https://github.com/tarantool/go-tarantool
15
15
GO_TARANTOOL_DIR := ${PROJECT_DIR}/${BENCH_PATH}/go-tarantool
16
16
TAGS :=
17
- TTCTL := tt
18
- ifeq (,$(shell which tt 2>/dev/null) )
19
- TTCTL := tarantoolctl
20
- endif
21
17
22
18
.PHONY : clean
23
19
clean :
26
22
27
23
.PHONY : deps
28
24
deps : clean
29
- ( cd ./queue/testdata; $( TTCTL) rocks install queue 1.3.0 )
30
- ( cd ./crud/testdata; $( TTCTL) rocks install crud 1.4.1 )
25
+ @ (command -v tt > /dev/null || (echo " error: tt not found" && exit 1))
26
+ ( cd ./queue/testdata; tt rocks install queue 1.3.0 )
27
+ ( cd ./crud/testdata; tt rocks install crud 1.4.1 )
31
28
32
29
.PHONY : datetime-timezones
33
30
datetime-timezones :
You can’t perform that action at this time.
0 commit comments