File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,12 @@ jobs:
108108 echo "tagged_image=${IMAGE_NAME}:${TAG}" >> $GITHUB_OUTPUT
109109 echo "::notice::Tagged docker image: ${IMAGE_NAME}:${TAG}"
110110
111+ - name : Start firebase emulator (in background)
112+ env :
113+ DOCKER_IMAGE : ${{ steps.prep.outputs.tagged_image }}
114+ run : |
115+ docker compose up -d firebase-test
116+
111117 - name : 🐳 Set up Docker Buildx
112118 id : buildx
113119 uses : docker/setup-buildx-action@v3
@@ -124,11 +130,11 @@ jobs:
124130 cache-to : type=gha,mode=max
125131
126132 - name : Start app resources
127- timeout-minutes : 3
133+ timeout-minutes : 1
128134 env :
129135 DOCKER_IMAGE : ${{ steps.prep.outputs.tagged_image }}
130136 run : |
131- timeout 120s docker compose run --rm test ./manage.py wait_for_resources --all || {
137+ timeout 60s docker compose run --rm test ./manage.py wait_for_resources --all || {
132138 echo 'Failed to wait for resources'
133139 docker compose logs
134140 exit 1
You can’t perform that action at this time.
0 commit comments