File tree 1 file changed +23
-5
lines changed
1 file changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -86,16 +86,34 @@ jobs:
86
86
87
87
lid-docker-compose :
88
88
description : ' Run LID integration tests'
89
- machine :
90
- image : default
91
- resource_class : xlarge
89
+ docker :
90
+ - image : cimg/go:1.22 # Primary container to run Go tests
91
+ environment :
92
+ YUGABYTE_HOST : yugabyte
93
+ - image : yugabytedb/yugabyte:2024.1.3.0-b105 # Service container for YugabyteDB
94
+ name : yugabyte
95
+ command : bin/yugabyted start --daemon=false
96
+
92
97
steps :
93
98
- checkout
99
+ - run : git submodule sync
100
+ - run : git submodule update --init
101
+ - setup_remote_docker
102
+ - run :
103
+ name : Wait for YugabyteDB to start
104
+ command : |
105
+ while true; do
106
+ status=$(docker exec yugabyte bin/yugabyted status || echo "Not Running")
107
+ echo "$status"
108
+ echo "$status" | grep -q "Running" && break
109
+ sleep 1
110
+ done
94
111
- run :
95
- name : local index directory docker compose tests
112
+ name : Run Go tests
96
113
command : |
97
114
set -x
98
- make test-lid
115
+ cd extern/boostd-data
116
+ go test -v ./...
99
117
100
118
test :
101
119
description : |
You can’t perform that action at this time.
0 commit comments