File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 79
79
image : ubuntu-1604:201903-01
80
80
steps :
81
81
- checkout
82
+ - run :
83
+ name : Checkout LFS
84
+ commnad : |
85
+ git lfs install
86
+ git lfs pull
82
87
- run :
83
88
name : Setup Docker client experimental features
84
89
command : |
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ ARG PACK=0
34
34
ARG TEST=0
35
35
36
36
RUN if [ "$PACK" = "1" ]; then make -C opt pack; fi
37
- RUN if [ "$TEST" = "1" ]; then make -C opt test $BUILD_ARGS; fi
37
+ RUN if [ "$TEST" = "1" ]; then make -C opt test $BUILD_ARGS NO_LFS=1 ; fi
38
38
39
39
# ----------------------------------------------------------------------------------------------
40
40
# FROM redis:latest
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ ARG PACK=0
34
34
ARG TEST=0
35
35
36
36
RUN if [ "$PACK" = "1" ]; then make -C opt pack; fi
37
- RUN if [ "$TEST" = "1" ]; then make -C opt test $BUILD_ARGS; fi
37
+ RUN if [ "$TEST" = "1" ]; then make -C opt test $BUILD_ARGS NO_LFS=1 ; fi
38
38
39
39
RUN [ "cross-build-end" ]
40
40
Original file line number Diff line number Diff line change @@ -124,8 +124,10 @@ endif
124
124
TEST_REPORT_DIR ?= $(PWD )
125
125
126
126
test :
127
+ ifneq ($(NO_LFS ) ,1)
127
128
$(SHOW)if [ "$(git lfs env > /dev/null 2>&1 ; echo $?)" != "0" ]; then cd $(ROOT); git lfs install; fi
128
129
$(SHOW)cd $(ROOT); git lfs pull
130
+ endif
129
131
$(SHOW)set -e ;\
130
132
cd $(ROOT)/test ;\
131
133
python3 -m RLTest $(TEST_ARGS) --test basic_tests.py --module $(INSTALL_DIR)/redisai.so ;\
You can’t perform that action at this time.
0 commit comments