Skip to content

Commit 051a031

Browse files
committed
Wait for kafka
1 parent 3605e2c commit 051a031

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ jobs:
5858
restore-keys: |
5959
${{ runner.os }}-go-
6060
- name: Bring up kafka + zk
61-
run: docker-compose up -d
61+
uses: JarvusInnovations/background-action@v1
62+
with:
63+
run: docker-compose up &
64+
wait-on: |
65+
tcp:localhost:9092
66+
tcp:localhost:9093
67+
tail: true
68+
log-output-if: true
69+
6270
- name: "Run tests"
6371
run: make testacc

0 commit comments

Comments
 (0)