From c7e051896ee2e7dd02ee2d03eec9280d4d9ce847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=B5=E1=84=8E=E1=85=A1=E1=86=AB=E1=84=8C?= =?UTF-8?q?=E1=85=B5=E1=86=AB?= Date: Sun, 8 Jan 2023 14:29:45 +0900 Subject: [PATCH] ci : execute docker compose before build gradle --- .github/workflows/BuildApiServer.yml | 4 ++++ .github/workflows/BuildSocketServer.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/BuildApiServer.yml b/.github/workflows/BuildApiServer.yml index a3222096..c1cb65f7 100644 --- a/.github/workflows/BuildApiServer.yml +++ b/.github/workflows/BuildApiServer.yml @@ -29,6 +29,10 @@ jobs: RELEASE_VERSION_WITHOUT_V="$(cut -d'v' -f2 <<< ${GITHUB_REF#refs/*/})" echo ::set-output name=VERSION::$RELEASE_VERSION_WITHOUT_V + #테스트 수행용 도커 컴포즈 + - name: Start containers + run: docker-compose up -d + - name: Gradle Build uses: gradle/gradle-build-action@v2 diff --git a/.github/workflows/BuildSocketServer.yml b/.github/workflows/BuildSocketServer.yml index c3d073c2..ec8092e2 100644 --- a/.github/workflows/BuildSocketServer.yml +++ b/.github/workflows/BuildSocketServer.yml @@ -29,6 +29,10 @@ jobs: RELEASE_VERSION_WITHOUT_V="$(cut -d'v' -f2 <<< ${GITHUB_REF#refs/*/})" echo ::set-output name=VERSION::$RELEASE_VERSION_WITHOUT_V + #테스트 수행용 도커 컴포즈 + - name: Start containers + run: docker-compose up -d + - name: Gradle Build uses: gradle/gradle-build-action@v2