File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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"
@@ -72,14 +84,13 @@ jobs:
7284
7385 - name : Install dependencies
7486 run : |
87+ sudo apt-get update
88+ sudo apt-get install -y rabbitmq-server
89+ sudo rabbitmq-server -detached
90+ sleep 10
7591 cd server
76- # This is the main setup job for the test suite
7792 ./tools/ci/setup-backend --skip-dev-db-build
7893
79- # Cleaning caches is mostly unnecessary in GitHub Actions, because
80- # most builds don't get to write to the cache.
81- # scripts/lib/clean_unused_caches.py --verbose --threshold 0
82-
8394 - name : Replace dependency with the latest python-zulip-api
8495 run : |
8596 cd server
You can’t perform that action at this time.
0 commit comments