Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/develop_build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# ENV 로드, Github ENV 등록
- name: Load ENV into Environment Variable
run: echo "${{ secrets.ENV }}" >> $GITHUB_ENV

# JDK 17 세팅
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'

# Gradlew 생행 권한 허용
# Gradlew 실행 권한 허용
- name: Grant Execute Permission for Gradlew
run: chmod +x ./gradlew

# .env 파일 생성
- name: Load secrets into .env file
run: |
echo "${{ secrets.ENV }}" >> .env

# Gradle 빌드
- name: Build with Gradle
id: gradle
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/develop_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# ENV 설정
- name: Load ENV into Environment Variable
run: echo "${{ secrets.ENV }}" >> $GITHUB_ENV

# JDK 17 세팅
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'

# Gradlew 생행 권한 허용
# Gradlew 실행 권한 허용
- name: Grant Execute Permission for Gradlew
run: chmod +x ./gradlew

# .env 파일 생성
- name: Load secrets into .env file
run: |
echo "${{ secrets.ENV }}" >> .env

# Gradle setup, check(코드 품질 관리, 테스트) 실행
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/com/ftm/server/ServerApplicationTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.TestPropertySource;

@SpringBootTest
@TestPropertySource(locations = "file:.env")
class ServerApplicationTests {

@Test
Expand Down