File tree 1 file changed +21
-5
lines changed
1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -86,16 +86,32 @@ 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
+ - setup_remote_docker
100
+ - run :
101
+ name : Wait for YugabyteDB to start
102
+ command : |
103
+ while true; do
104
+ status=$(docker exec yugabyte bin/yugabyted status || echo "Not Running")
105
+ echo "$status"
106
+ echo "$status" | grep -q "Running" && break
107
+ sleep 1
108
+ done
94
109
- run :
95
- name : local index directory docker compose tests
110
+ name : Run Go tests
96
111
command : |
97
112
set -x
98
- make test-lid
113
+ cd extern/boostd-data
114
+ go test -v ./...
99
115
100
116
test :
101
117
description : |
You can’t perform that action at this time.
0 commit comments