Skip to content

Commit f5343fb

Browse files
committed
fix circleci
1 parent c90f858 commit f5343fb

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

.circleci/config.yml

+23-5
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,34 @@ 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+
- 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
94111
- run:
95-
name: local index directory docker compose tests
112+
name: Run Go tests
96113
command: |
97114
set -x
98-
make test-lid
115+
cd extern/boostd-data
116+
go test -v ./...
99117
100118
test:
101119
description: |

0 commit comments

Comments
 (0)