File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed
Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -86,16 +86,32 @@ jobs:
8686
8787 lid-docker-compose :
8888 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+
9297 steps :
9398 - 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
94109 - run :
95- name : local index directory docker compose tests
110+ name : Run Go tests
96111 command : |
97112 set -x
98- make test-lid
113+ cd extern/boostd-data
114+ go test -v ./...
99115
100116 test :
101117 description : |
You can’t perform that action at this time.
0 commit comments