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,12 @@ jobs:
7284
7385 - name : Install dependencies
7486 run : |
87+ echo '#!/bin/sh' | sudo tee /usr/sbin/service
88+ echo 'exit 0' | sudo tee -a /usr/sbin/service
89+ sudo chmod +x /usr/sbin/service
7590 cd server
76- # This is the main setup job for the test suite
7791 ./tools/ci/setup-backend --skip-dev-db-build
7892
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-
8393 - name : Replace dependency with the latest python-zulip-api
8494 run : |
8595 cd server
You can’t perform that action at this time.
0 commit comments