Skip to content

Commit 23a71a1

Browse files
committed
api: Use batch-based narrow updates for marking messages as read.
Fixes #820.
1 parent 9960360 commit 23a71a1

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/zulip-ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ jobs:
4848
runs-on: ubuntu-latest
4949
name: ${{ matrix.name }} (Zulip ${{matrix.server_version}})
5050
container: ${{ matrix.docker_image }}
51+
services:
52+
rabbitmq:
53+
image: rabbitmq:3.13
54+
ports:
55+
- 5672:5672
56+
options: >-
57+
--health-cmd "rabbitmq-diagnostics -q ping"
58+
--health-interval 10s
59+
--health-timeout 5s
60+
--health-retries 10
5161
env:
5262
# GitHub Actions sets HOME to /github/home which causes
5363
# problem later in provison and frontend test that runs
@@ -56,6 +66,8 @@ jobs:
5666
# /home/github/.pgpass and setting home to `/home/github/`
5767
# ensures it written there because we write it to ~/.pgpass.
5868
HOME: /home/github/
69+
RABBITMQ_HOST: rabbitmq
70+
RABBITMQ_PORT: "5672"
5971

6072
steps:
6173
- name: "Check out python-zulip-api"
@@ -71,6 +83,11 @@ jobs:
7183
path: server
7284

7385
- name: Install dependencies
86+
env:
87+
HOME: /home/github/
88+
CI_USE_EXTERNAL_RABBITMQ: "1"
89+
RABBITMQ_HOST: rabbitmq
90+
RABBITMQ_PORT: "5672"
7491
run: |
7592
cd server
7693
# This is the main setup job for the test suite

0 commit comments

Comments
 (0)