Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit 9993d1c

Browse files
committed
gh: actions, run integration tests in sanity check
1 parent df8fd2d commit 9993d1c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/go.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
pull_request:
1010
permissions:
1111
contents: read
12+
env:
13+
SCYLLA_ARGS: "--seeds=node1,node2 --authenticator PasswordAuthenticator --api-address 0.0.0.0"
1214
jobs:
1315
sanity:
1416
name: Sanity check
@@ -28,6 +30,21 @@ jobs:
2830
with:
2931
version: v1.46.2
3032

33+
- name: Setup 3-node Scylla cluster
34+
run: |
35+
sudo sh -c "echo 2097152 >> /proc/sys/fs/aio-max-nr"
36+
docker-compose up -d
37+
3138
- name: Run tests
3239
run: make test
3340

41+
- name: Ensure nodes are up
42+
run: |
43+
until docker compose exec node1 nodetool status; do sleep 1; done
44+
while [[ $(docker compose exec node1 nodetool status | grep -c ^UN) != "3" ]]; do sleep 1; done
45+
46+
- name: Run integration tests
47+
run: make docker-integration-test
48+
49+
- name: Stop cluster
50+
run: docker-compose down

0 commit comments

Comments
 (0)