[FEAT] : 채팅 요청 취소 기능 구현 #235
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: compile-test | |
| on: | |
| pull_request: | |
| branches: [ "develop", "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Start Redis | |
| uses: supercharge/[email protected] | |
| with: | |
| redis-version: 6 | |
| - name: Grant permission for gradlew | |
| run: chmod +x ./gradlew | |
| # ✅ 공통 application-common.yml, ci.yml 생성 | |
| - run: | | |
| touch ./src/main/resources/application-test.yml | |
| echo -e "${{ secrets.TEST_YML }}" > ./src/main/resources/application-test.yml | |
| # ✅ 테스트 실행 (컴파일 포함) | |
| - name: Run tests (includes compilation) | |
| run: ./gradlew test -Dspring.profiles.active=test | |
| # ✅ 전체 빌드 확인 (테스트 제외하고 jar 생성까지) | |
| - name: Build project | |
| run: ./gradlew build -x test |